powered by
Applies a warping function to a given curve
warp_curve(betafun, gamfun)
A function that takes a numeric vector \(s\) of values in \([0, 1]\) as input and returns the values of the warped curve at \(s\).
A function that takes a numeric vector \(s\) of values in \([0, 1]\) as input and returns the values of the underlying curve at \(s\).
A function that takes a numeric vector \(s\) of values in \([0, 1]\) as input and returns the values of a diffeomorphic warping function at \(s\).
curv <- discrete2curve(beta[, , 1, 1]) gamf <- discrete2warping(seq(0, 1, length = 100)^2) warp_curve(curv, gamf)
Run the code above in your browser using DataLab