Calculate functional median based on data depth.

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

x <- matrix(rnorm(600), nc = 20) md <- fncDepthMedian(x, method = "FM", dep1d = "Mahalanobis")
#> Warning: Coercing LHS to a list