kde2d.weighted | R Documentation |
based on https://stat.ethz.ch/pipermail/r-help/2006-June/107405.html this is called by compute.spatial.kld to calculate the kernel density estimation in 2d space with each data point weighted.
kde2d.weighted(x, y, w, h, n, lims = c(range(x), range(y)))
x |
x |
y |
y |
w |
w |
h |
h |
n |
n |
lims |
lims |
weighted kde2d estimation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.