lonlat_to_bearing | R Documentation |
Calculate great circle distance and bearing between spatial coordinates.
lonlat_to_bearing(origin_lon, origin_lat, dest_lon, dest_lat, earth_rad = 6371)
origin_lon, origin_lat |
the origin longitude and latitude. |
dest_lon, dest_lat |
the destination longitude and latitude. |
earth_rad |
the assumed radius of the earth (km). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.