epdf {MEPDF} | R Documentation |
epdf
Description
Assembles main grid and superimposes grids of different resolution.
Usage
epdf(data,max.corner,min.corner,main.gridsize,rescubes)
Arguments
data |
N-dimensional data set. |
max.corner |
Upper cropping point of the data. |
min.corner |
Lower cropping point of the data. |
main.gridsize |
Vector of grid sizes for the main grid. |
rescubes |
List of upper and lower cropping points, as well as grid sizes for cubes that are to be superimposed |
Examples
library("pracma")
library("plyr")
a<-list(c(-1,-1),c(1,1),c(0.01,0.01))
b<-list(c(-2,-2),c(2,2),c(0.02,0.02))
cubes<-list(a,b)
min.corner = c(-4,-4)
max.corner= c(4,4)
main.gridsize = c(0.05,0.05)
# Data & Density
data<-cbind(rnorm(1000),rnorm(1000))
pdf<-epdf(data,max.corner,min.corner,main.gridsize,rescubes = cubes)
[Package MEPDF version 3.0 Index]