Description Usage Arguments Value Author(s) References Examples
View source: R/CAAGlobe_DistanceBetweenPoints.R
CAAGlobe_DistanceBetweenPoints
1 | CAAGlobe_DistanceBetweenPoints(GeographicalLatitude1, GeographicalLongitude1, GeographicalLatitude2, GeographicalLongitude2)
|
GeographicalLatitude1 |
GeographicalLatitude1 The latitude of the position of the first point in degrees. |
GeographicalLongitude1 |
GeographicalLongitude1 The latitude of the position of the first point in degrees. |
GeographicalLatitude2 |
GeographicalLatitude2 The latitude of the position of the second point in degrees. |
GeographicalLongitude2 |
GeographicalLongitude2 The latitude of the position of the first point in degrees. |
The shortest distance between two known points on the surface of the Earth expressed in kilometres.
C++ code by PJ Naughter, imported to R by Jinlong Zhang
Meeus, J. H. (1991). Astronomical algorithms. Willmann-Bell, Incorporated.
1 2 | CAAGlobe_DistanceBetweenPoints(50, 0, 50, 60);
CAAGlobe_DistanceBetweenPoints(50, 0, 50, 1);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.