tf_depth {tf}R Documentation

Functional Data Depth

Description

Data depths for functional data. Currently implemented: Modified Band-2 Depth, see reference.

Usage

tf_depth(x, arg, depth = "MBD", na.rm = TRUE, ...)

## S3 method for class 'matrix'
tf_depth(x, arg, depth = "MBD", na.rm = TRUE, ...)

## S3 method for class 'tf'
tf_depth(x, arg, depth = "MBD", na.rm = TRUE, ...)

Arguments

x

tf (or a matrix of evaluations)

arg

grid of evaluation points

depth

currently available: "MBD", i.e. modified band depth

na.rm

TRUE remove missing observations?

...

further arguments handed to the function computing the respective tf_depth.

Value

vector of tf_depth values

References

Sun, Ying, Genton, G M, Nychka, W D (2012). “Exact fast computation of band depth for large functional datasets: How quickly can one million curves be ranked?” Stat, 1(1), 68–74.

López-Pintado, Sara, Romo, Juan (2009). “On the concept of depth for functional data.” Journal of the American statistical Association, 104(486), 718–734.


[Package tf version 0.3.4 Index]