warp_srvf {fdasrvf}R Documentation

Applies a warping function to a given SRVF

Description

Applies a warping function to a given SRVF

Usage

warp_srvf(qfun, gamfun, betafun = NULL)

Arguments

qfun

A function that takes a numeric vector ss of values in [0,1][0, 1] as input and returns the values of the SRVF of an underlying curve at ss.

gamfun

A function that takes a numeric vector ss of values in [0,1][0, 1] as input and returns the values of a diffeomorphic warping function at ss.

betafun

A function that takes a numeric vector ss of values in [0,1][0, 1] as input and returns the values of the underlying curve at ss. Defaults to NULL.

Value

A function that takes a numeric vector ss of values in [0,1][0, 1] as input and returns the values of the warped SRVF.

Examples

q <- curve2srvf(beta[, , 1, 1])
warp_srvf(q, get_identity_warping())

[Package fdasrvf version 2.3.1 Index]