pseudokernel {MEPDF} | R Documentation |
pseudokernel
Description
Single grid size empirical density function. Offers a modified kernel density approach via the optional argument "rings"
Usage
pseudokernel(data,mn,mx,grid.sizes,rings)
Arguments
data |
N-dimensional data set. |
mx |
Upper cropping point of the data. |
mn |
Lower cropping point of the data. |
grid.sizes |
Vector of grid sizes for the grid. |
rings |
Number of additional cell grid smoothing layers. |
Examples
data<-mvtnorm::rmvnorm(n = 100,mean = c(0,0),sigma = diag(2))
pdf<-pseudokernel(data = data,mn = c(-2,-2),mx = c(2,2),grid.sizes = c(0.1,0.1),rings = 1)
[Package MEPDF version 3.0 Index]