warp_f_gamma {fdasrvf} | R Documentation |
Warp Function
Description
This function warps function f
by \gamma
Usage
warp_f_gamma(f, time, gamma, spl.int = FALSE)
Arguments
f |
vector function |
time |
time |
gamma |
vector warping function |
spl.int |
use spline interpolation (default F) |
Value
fnew warped function
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 Function Data using Phase and Amplitude Separation, Computational Statistics and Data Analysis (2012), 10.1016/j.csda.2012.12.001.
Examples
fnew <- warp_f_gamma(
f = simu_data$f[, 1],
time = simu_data$time,
gamma = seq(0, 1, length.out = 101)
)
[Package fdasrvf version 2.3.1 Index]