criterion {warpMix} | R Documentation |
This function returns the empirical L_2 between two functions, the first one being warped.
criterion(t, f, g, theta, splineBasisW)
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. |
A list, with crit the distance.