Description Usage Arguments Details Value Author(s) References See Also Examples
Calculate the bearing in degrees clockwise from True North between any two points on the globe.
1 | 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/
1 | earth.bear(-100, 30, 20, -40)
|
Loading required package: sp
Loading required package: maps
Loading required package: shapefiles
Loading required package: foreign
Attaching package: 'shapefiles'
The following objects are masked from 'package:foreign':
read.dbf, write.dbf
[1] 118.8295
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.