initial_params {registr} | R Documentation |
Create initial parameters for (inverse) warping functions
Description
Dependent on the specific type of warping functions, this function creates
a vector of initial parameters. For "nonparametric"
warpings that
are based on a given spline basis matrix, the initial parameters are defined
s.t. the resulting (inverse) warping function equals a diagonal line.
For "piecewise_linear2"
warpings a fixed parameter vector is returned.
Usage
initial_params(warping = "nonparametric", K, t_vec)
Arguments
warping |
If |
K |
Spline basis matrix defined over the interval |
t_vec |
Vector of the observed and potentially irregular time grid. |
[Package registr version 2.1.0 Index]