Description Usage Arguments Value References See Also Examples
Computes an estimation of the density using Kernel Density estimator, correcting for fontier effects.
1 2 |
U |
data points. |
polygon |
polygon on which points lie. |
optimal |
if TRUE, uses Hpi() to select the optimal bandwidth. |
h |
only if optimal=FALSE, scalar bandwidth. |
parallel |
if TRUE, computes the weights using clusters. |
n_clusters |
only if n_clusters=TRUE, defines the number of clusters. |
Returns a list whose elements are: > X: x coordinates at wich estimate is evaluated, > Y: y coordinates at wich estimate is evaluated, > Z: density estimates, > ZNA: density estimates with NA values for points outside the polygon, > H: bandwidth matrix, > W: vector of weights.
Charpentier, A. & Gallic, E. (2015). Kernel density estimation based on Ripley’s correction. GeoInformatica, 1-22. (Springer)
sWeights
which this function wraps
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.