central.angle | R Documentation |
On a sphere the central angle between two points is defined as the
angle whose vertex is the centre of the sphere and that subtends
the arc formed by the great circle between the points. This
function computes the central angle for two points (\phi_1,
\lambda_1)
and (\phi_2,\lambda_2)
.
central.angle(phi1, lambda1, phi2, lambda2)
phi1 |
Latitude of first point |
lambda1 |
Longitude of first point |
phi2 |
Latitude of second point |
lambda2 |
Longitude of second point |
Central angle
David Sterratt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.