View source: R/registr-utils.R
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.
1 | initial_params(warping = "nonparametric", K, t_vec)
|
warping |
If |
K |
Spline basis matrix defined over the interval |
t_vec |
Vector of the observed and potentially irregular time grid. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.