gcDist | R Documentation |
Calculate great circle distancces between points.
gcDist(x1, x2)
x1 |
a two column matrix of (lon,lat) locations. |
x2 |
a two column matrix of (lon,lat) locations. |
Compute the great circle distances from x1 to x2.
vector of interpoint distances (km)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.