powered by
Finds the euclidean distance between two points (ignoring projection)
get_dist(p1, p2)
vector giving the x and y coordinate pair for the first point
vector giving the x and y coordinate pair for the second point
distance value
# NOT RUN { get_dist(c(1, 2), c(3, 4)) # }
Run the code above in your browser using DataLab