kdeC | R Documentation |
Two-dimensional fast weighted kernel density estimation
kdeC(x, H, gridsize, cutNum, w)
x |
Data points in the format of an n x 2 matrix. |
H |
Bandwidth, a vector containing 2 numeric values. |
gridsize |
Number of points for each direction, a vector containing 2 integer values. |
cutNum |
Number of pieces to be cut for each direction, a vector containing 2 integer values. |
w |
Weight, a vector corresponding to parameter 'x'. |
A list containing three elements:
estimate |
The estimated values of the kernel density. |
evalpointsX |
The evaluation points along the X direction. |
evalpointsY |
The evaluation points along the Y direction. |
data(r)
k <- kdeC(r$dat, H = c(0.014, 0.014), gridsize = c(330, 330), cutNum = c(1, 1), w = r$z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.