distAB | R Documentation |
Calculate distance between points on earth
distAB(lon, lat, lons, lats, a = 6378000)
lon |
a longitude |
lat |
a latitude |
lons |
longitude or vector of longitudes |
lats |
latitude or vector of longitudes |
a |
radius of the earth (unit: m) |
distance between [lon, lat] and [lons, lats] (unit: m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.