Description Usage Arguments Value Examples
Calculate Great Circle Distance
1 | calculate_gcd(long_1, lat_1, long_2, lat_2)
|
long_1 |
Longitude of first coordinate, in radians. |
lat_1 |
Latitude of first coordinate, in radians. |
long_2 |
Longitude of second coordinate, in radians. |
lat_2 |
Latitude of second coordinate, in radians. |
A numeric vector of distance between the two given coordinates in km.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.