Skip to contents

Wrapper for depth(method = "mode"). Useful as a function argument.

Usage

depth.mode(fdataobj, fdataori = NULL, ...)

Arguments

fdataobj

An object of class 'fdata'.

fdataori

Reference sample (default: fdataobj itself).

...

Additional arguments.

Value

Numeric vector of depth values.

See also

Examples

# \donttest{
fd <- fdata(matrix(rnorm(50), nrow = 5), argvals = seq(0, 1, length.out = 10))
d <- depth.mode(fd)
# }