curve_depth {fdasrvf} | R Documentation |
Calculates elastic depth for a set of curves
Description
This functions calculates the elastic depth between set of curves. If the
curves are describing multidimensional functional data, then
rotated == FALSE
and mode == 'O'
Usage
curve_depth(beta, mode = "O", rotated = TRUE, scale = TRUE, parallel = FALSE)
Arguments
beta |
Array of sizes |
mode |
Open ( |
rotated |
Include rotation (default = |
scale |
scale curves to unit length (default = |
parallel |
run computation in parallel (default = |
Value
Returns a list containing
amp |
amplitude depth |
phase |
phase depth |
References
T. Harris, J. D. Tucker, B. Li, and L. Shand, "Elastic depths for detecting shape anomalies in functional data," Technometrics, 10.1080/00401706.2020.1811156, 2020.
Examples
data("mpeg7")
# note: use more shapes and iterations, small for speed
out = curve_depth(beta[,,1,1:2])
[Package fdasrvf version 2.3.1 Index]