dist_gc | R Documentation |
Analogue of the dist()
function, but calculating great
circle distances (distance on the surface of a sphere). Points are input as
longitude and latitude.
dist_gc(x)
x |
a two-column matrix or dataframe with longitude in the first column and latitude in the second. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.