Learn R Programming

DepthProc (version 1.0.7)

depthMBD: Modified band depth

Description

Computes the modified band depth.

Usage

depthMBD(u, X, name = "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, data frame or list. If it is a matrix or data frame, then each row is viewed as one multivariate observation. If it is a list, all components must be numerical vectors of equal length (coordinates of observations).

name

for this data set - it will be used on plots from depthproc.

currently not supported.

Examples

Run this code
x = matrix(rnorm(600), nc = 20)
 depthMBD(x)

Run the code above in your browser using DataLab