epdf: epdf

Description Usage Arguments Examples

View source: R/EPDF.R

Description

Assembles main grid and superimposes grids of different resolution.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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)

MEPDF documentation built on Sept. 26, 2018, 5:04 p.m.