Description Usage Arguments Value
Find the distance from the "from" location to a vector of "to" locations, given their latitude and longitude. Used by the earth.dist function.
1 | deg.dist(long1, lat1, long2, lat2)
|
long1 |
the "from" longitude, in degrees |
lat1 |
the "from" latitude, in degrees |
long2 |
the vector of "to" longitudes, in degrees |
lat2 |
the vector of "to latitudes, in degrees |
numeric scalar distance from the "from" location to the "to" locations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.