Learn R Programming

DepthProc (version 2.1.5)

fncDepthMBD: Modified band depth

Description

Computes the modified band depth.

Usage

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

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

# }

Run the code above in your browser using DataLab