Learn R Programming

MEPDF (version 3.0)

cube: cube

Description

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

Usage

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

Run this code
# NOT RUN {
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))
# }

Run the code above in your browser using DataLab