f_to_srvf {fdasrvf} | R Documentation |
Transformation to SRVF Space
Description
This function transforms functions in R^1
from their original functional
space to the SRVF space.
Usage
f_to_srvf(f, time)
Arguments
f |
Either a numeric vector of a numeric matrix or a numeric array specifying the functions that need to be transformed.
|
time |
A numeric vector of length |
Value
A numeric array of the same shape as the input array f
storing the
SRVFs of the original curves.
References
Srivastava, A., Wu, W., Kurtek, S., Klassen, E., Marron, J. S., May 2011. Registration of functional data using Fisher-Rao metric, arXiv:1103.3817v2.
Tucker, J. D., Wu, W., Srivastava, A., Generative models for functional data using phase and amplitude Separation, Computational Statistics and Data Analysis (2012), 10.1016/j.csda.2012.12.001.
Examples
q <- f_to_srvf(simu_data$f, simu_data$time)