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.

other arguments passed to depth function.

Examples

x <- matrix(rnorm(60), nc = 20) fncDepthFM(x)
#> [1] 0.7986295 0.4870275 0.4681817