criterion: Compute the empirical L_2 distance related to the warping...

Description Usage Arguments Value

Description

This function returns the empirical L_2 between two functions, the first one being warped.

Usage

1
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.


warpMix documentation built on May 1, 2019, 6:30 p.m.

Related to criterion in warpMix...