This functions calculates the elastic depth between set of functions
Usage
elastic.depth(f, time, lambda = 0, parallel = FALSE)
Arguments
f
matrix of N function of M time points (MxN)
time
sample points of functions
lambda
controls amount of warping (default = 0)
parallel
run computation in parallel (default = T)
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.