fncDepthMBD function

Modified band depth

Modified band depth

Computes the modified band depth.

fncDepthMBD(u, X)

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.

Examples

x <- matrix(rnorm(60), nc = 20) fncDepthMBD(x) fncDepthMBD(x, x)