powered by
Compute distance using object of class measure or manifold.
measure
manifold
distance(d, x1, x2 = NULL)# S4 method for measure distance(d, x1, x2 = NULL)# S4 method for manifold distance(d, x1, x2 = NULL)
# S4 method for measure distance(d, x1, x2 = NULL)
# S4 method for manifold distance(d, x1, x2 = NULL)
object of class measure or manifold
first coordinate
second coordinate
real_line, plane, sphere, STplane and STsphere for constructing manifolds, and distances for the type of distances available.
real_line
plane
sphere
STplane
STsphere
distances
distance(sphere(),matrix(0,1,2),matrix(10,1,2)) distance(plane(),matrix(0,1,2),matrix(10,1,2))
Run the code above in your browser using DataLab