| curve_depth | R Documentation | 
This functions calculates the elastic depth between set of curves. If the
curves are describing multidimensional functional data, then
rotated == FALSE and mode == 'O'
curve_depth(beta, mode = "O", rotated = TRUE, scale = TRUE, parallel = FALSE)
| beta | Array of sizes  | 
| mode | Open ( | 
| rotated | Include rotation (default =  | 
| scale | scale curves to unit length (default =  | 
| parallel | run computation in parallel (default =  | 
Returns a list containing
| amp | amplitude depth | 
| phase | phase depth | 
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.
data("mpeg7")
# note: use more shapes and iterations, small for speed
out = curve_depth(beta[,,1,1:2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.