criterion {warpMix} | R Documentation |
Compute the empirical L_2 distance related to the warping function.
Description
This function returns the empirical L_2 between two functions, the first one being warped.
Usage
criterion(t, f, g, theta, splineBasisW)
Arguments
t |
A vector of numbers, corresponding to time points. |
f |
A vector of numbers, corresponding to the evaluated function. |
g |
A vector of numbers, corresponding to the evaluated function. |
theta |
A vector of warping parameters. |
splineBasisW |
A matrix, corresponding to the spline basis for the warping functions, evaluted in time points. |
Value
A list, with crit the distance.
[Package warpMix version 0.1.0 Index]