Find the optimal smoothing for intensity estimation kernel width
Source:R/intensity.R
intensity_bandwidth_profile.Rd
Find the optimal smoothing for intensity estimation kernel width
Arguments
- x
point pattern
- bw_vector
Vector of bandwidth values to optimize over
- kernel
Either 'gaussian' or 'epanenchnikov'
- ...
ignored.
Value
list with elements:
* opt: the optimal bandwidth, given the inputs
* iopt: index of optimal bandwidth in input vector
* loss: the squared loss function (given above)
* statistic: the statistic which root is to be found
* area: window area |W| used for optimisation.