Computes Frainman-Muniz depth for functional data.

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

x <- matrix(rnorm(60), nc = 20) fncDepthFM(x)
#> [1] 0.5610563 0.6714981 0.5573924