Description Usage Arguments Value Examples
This function calculate the distance between two points
1 | distance(x1, y1, xp, yp)
|
x1 |
X coordinate of the point |
y1 |
Y coordinate of the point |
xp |
X coordinate of the point, can be a vector of X coordinates |
yp |
Y coordinate of the point, can be a vector of Y coordinates |
returns an distance values in degree (or a vector of distances)
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.