distance | R Documentation |
Calculate the distance between 2 points
distance(A, B)
A, B |
Two points in (x,y) format |
A single value, the distance between the two points
distance(c(0,0), c(3,4))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.