Learn R Programming

DepthProc (version 2.1.5)

fncDepthMedian: Functional median

Description

Calculate functional median based on data depth.

Usage

fncDepthMedian(u, X = NULL, method = "MBD", byrow = NULL, unique = TRUE, ...)

Arguments

u

data matrix

X

reference set. If null u will be used as reference.

method

depth method

byrow

byrow

unique

if true

other arguments passed to fncDepth

Examples

Run this code
# NOT RUN {
x <- matrix(rnorm(600), nc = 20)
md <- fncDepthMedian(x, method = "FM", dep1d = "Mahalanobis")

# }

Run the code above in your browser using DataLab