cu_sf_kde | R Documentation |
A weighted or unweighted Gaussian Kernel Density estimate for point spatial data
cu_sf_kde(x, w = NULL, bw = NULL, ref, ess = NULL, mask = FALSE)
x |
sf POINT object |
w |
Optional values, associated with |
bw |
Standard deviation scale bandwidth of Gaussian Kernel, must be units
of |
ref |
A terra SpatRaster |
ess |
A effective sample size to use instead of |
mask |
(TRUE/FALSE) mask resulting raster if ref is provided as a SpatRaster |
Please note that ks methods for estimation has been reverted to the Gussian method proposed in Venables & Ripley (2002). There was not enought evendence that the Chacon & Duong (2018) multivariate method(s) for bandwidth selection and kernal estimation were suitable for spatial random fields.
a terra SpatRaster class object containing kernel density estimate
Jeffrey S. Evans jeffrey_evans@tnc.org and Devin S. Johnson devin.johnson@noaa.gov
Duong, T. & Hazelton, M.L. (2005) Cross-validation bandwidth matrices for multivariate kernel density estimation. Scandinavian Journal of Statistics, 32, 485-506.
Wand, M.P. & Jones, M.C. (1994) Multivariate plug-in bandwidth selection. Computational Statistics, 9, 97-116.
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.