Description Usage Arguments Details Value Author(s) Examples
View source: R/GreatCircleDistanceFromLongLat.R
Returns great circle distance in kilometres from a two longitude-latitude points
1 2 3 4 5 6 7 8 | GreatCircleDistanceFromLongLat(
long1,
lat1,
long2,
lat2,
EarthRad = 6367.4447,
Warn = TRUE
)
|
long1 |
Decimalised longitude for first point. |
lat1 |
Decimalised latitude for first point. |
long2 |
Decimalised longitude for second point. |
lat2 |
Decimalised latitude for second point. |
EarthRad |
Radius of the Earth in kilometres. |
Warn |
Whether or not to print warnings. |
Nothing yet.
Great circle distance in kilometres.
Graeme T. Lloyd graemetlloyd@gmail.com
1 2 | # Return one-degree of latitude (approximately 111 kilometres):
GreatCircleDistanceFromLongLat(0, 0, 0, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.