Skip to contents

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

Usage

depth.RPD(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.RPD(fd)
# }