Learn R Programming

DepthProc (version 2.1.5)

fncDepthFM: FM Depth

Description

Computes Frainman-Muniz depth for functional data.

Usage

fncDepthFM(u, X, dep1d_params = list(method = "Projection"))

Arguments

u

Numerical vector or matrix whose depth is to be calculated. Dimension has to be the same as that of the observations.

X

The data as a matrix. If it is a matrix or data frame, then each row is viewed as one multivariate observation.

dep1d_params

parameters passed to depth function used in one dimension.

Examples

Run this code
# NOT RUN {
x <- matrix(rnorm(60), nc = 20)
fncDepthFM(x)

# }

Run the code above in your browser using DataLab