cube: cube

Description Usage Arguments Examples

View source: R/EPDF.R

Description

Single grid size empirical density function. To be used to construct the epdf function.

Usage

1
cube(data,mx,mn,grid.sizes)

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.

Examples

1
2
3
4
5
6
library("pracma")
library("plyr")

data<-cbind(rnorm(1000),rnorm(1000))

pdf<-cube(data,mx=c(1,1),mn=c(-1,-1),grid.sizes = c(0.01,0.01))

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