distance_2d | R Documentation |
Calculate 2D distance between two coordinates
distance_2d(x1, y1, x2, y2)
x1 |
X of coordinate 1 |
y1 |
Y of coordinate 1 |
x2 |
X of coordinate 2 |
y2 |
Y of coordinate 2 |
A vector of 2d distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.