get_warping_distance | R Documentation |
Computes the distance between two warping functions
get_warping_distance(gam1fun, gam2fun)
gam1fun |
A function that takes a numeric vector |
gam2fun |
A function that takes a numeric vector |
A numeric value storing the distance between the two warping functions.
gam1 <- discrete2warping(toy_warp$gam[, 1])
gam2 <- discrete2warping(toy_warp$gam[, 2])
get_warping_distance(gam1, gam2)
get_warping_distance(gam1, get_identity_warping())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.