Compute the Karcher (Fréchet) mean of functional data in the elastic metric. This simultaneously estimates the mean shape and aligns all curves.
Arguments
- fdataobj
An object of class 'fdata'.
- max.iter
Maximum number of iterations (default 20).
- tol
Convergence tolerance (default 1e-4).
- periodic
Logical; if TRUE, circularly rotate each curve to a canonical position before computing the Karcher mean. See
elastic.alignfor details. Default is FALSE.
Value
An object of class 'karcher.mean' with components:
- mean
fdata of the Karcher mean curve
- aligned
fdata of aligned curves
- gammas
fdata of warping functions
- n.iter
number of iterations used
- converged
logical indicating convergence
- fdataobj
the original fdata input
- rotations
integer vector of circular rotation shifts applied (NULL when periodic = FALSE)
References
Srivastava, A., Klassen, E., Joshi, S.H., and Jermyn, I.H. (2011). Shape analysis of elastic curves in Euclidean spaces. IEEE Transactions on Pattern Analysis and Machine Intelligence, 33(7):1415–1428.
Tucker, J.D., Wu, W., and Srivastava, A. (2013). Generative models for functional data using phase and amplitude separation. Computational Statistics & Data Analysis, 61:50–66.