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

Description Usage Arguments Value

View source: R/criterion.R

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 29, 2017, 9:04 a.m.

Related to criterion in warpMix...