f_to_srvf | R Documentation |
This function transforms functions in R^1
from their original functional
space to the SRVF space.
f_to_srvf(f, time)
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 |
A numeric array of the same shape as the input array f
storing the
SRVFs of the original curves.
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.
q <- f_to_srvf(simu_data$f, simu_data$time)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.