hr_kde_lscv {amt} | R Documentation |
Use least square cross validation (lscv) to estimate bandwidth for kernel home-range estimation.
hr_kde_lscv(
x,
range = do.call(seq, as.list(c(hr_kde_ref(x) * c(0.1, 2), length.out = 100))),
which_min = "global",
rescale = "none",
trast = make_trast(x)
)
x |
|
range |
numeric vector with different candidate h values. |
which_min |
A character indicating if the |
rescale |
|
trast |
A template raster. |
hr_kde_lscv
calculates least square cross validation bandwidth. This implementation is based on Seaman and Powell (1996). If whichMin
is "global"
the global minimum is returned, else the local minimum with the largest candidate bandwidth is returned.
vector
of length two.
Seaman, D. E., & Powell, R. A. (1996). An evaluation of the accuracy of kernel density estimators for home range analysis. Ecology, 77(7), 2075-2085.