get_hilbert_sphere_distance | R Documentation |
Computes the geodesic distance between two SRVFs on the Hilbert sphere
get_hilbert_sphere_distance(q1fun, q2fun)
q1fun |
A function that takes a numeric vector |
q2fun |
A function that takes a numeric vector |
A numeric value storing the geodesic distance between the two SRVFs.
q1 <- curve2srvf(beta[, , 1, 1])
q2 <- curve2srvf(beta[, , 1, 2])
q1p <- to_hilbert_sphere(q1)
q2p <- to_hilbert_sphere(q2)
get_hilbert_sphere_distance(q1p, q2p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.