powered by
Single grid size empirical density function. Offers a modified kernel density approach via the optional argument "rings"
pseudokernel(data,mn,mx,grid.sizes,rings)
N-dimensional data set.
Upper cropping point of the data.
Lower cropping point of the data.
Vector of grid sizes for the grid.
Number of additional cell grid smoothing layers.
# NOT RUN { 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) # }
Run the code above in your browser using DataLab