discrete2warping {fdasrvf} | R Documentation |
Converts a warping function from vector to functional data object
Description
Converts a warping function from vector to functional data object
Usage
discrete2warping(gam)
Arguments
gam |
A numeric vector of length |
Value
A function that takes a numeric vector s
of values in [0,
1]
as input and returns the values of the original warping function at
s
.
Examples
discrete2warping(toy_warp$gam[, 1])
[Package fdasrvf version 2.3.1 Index]