earth.bear {fossil} | R Documentation |
Calculate the bearing in degrees clockwise from True North between any two points on the globe.
earth.bear(long1, lat1, long2, lat2)
long1 |
Longitude of site 1 |
lat1 |
Latitude of site 1 |
long2 |
Longitude of site 2 |
lat2 |
Latitude of site 2 |
Calculate the bearing in degrees clockwise from True North between any two points on the globe. Primarily designed to be used with other included geographic tools.
Returns a value in degrees from True North between two geographic points.
Matthew Vavrek
Haversine formula from Math Forums: Ask Dr. Math at http://mathforum.org/dr.math/
earth.bear(-100, 30, 20, -40)