get_warping_distance {fdasrvf} | R Documentation |
Computes the distance between two warping functions
Description
Computes the distance between two warping functions
Usage
get_warping_distance(gam1fun, gam2fun)
Arguments
gam1fun |
A function that takes a numeric vector |
gam2fun |
A function that takes a numeric vector |
Value
A numeric value storing the distance between the two warping functions.
Examples
gam1 <- discrete2warping(toy_warp$gam[, 1])
gam2 <- discrete2warping(toy_warp$gam[, 2])
get_warping_distance(gam1, gam2)
get_warping_distance(gam1, get_identity_warping())
[Package fdasrvf version 2.3.1 Index]