lonDist | R Documentation |
This function is intended to calculate the distance between two longitudes at a given latitude. If only one longitude location is supplied, the length of 1 deg of longitude is calculated at the given latitude.
lonDist(lon_min, lon_max = NULL, lat, to_km = TRUE, ...)
lon_min |
|
lon_max |
|
lat |
|
to_km |
|
... |
Currently not in use. |
The linear distance between the starting and end longitude at the given
latitude or, if argument lon_max
is not supplied, the length of 1 deg
of longitude at the given latitude.
Florian Detsch
lonDist(lon_min = 0, lat = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.