View source: R/GreatCircleCircum.R
GreatCircleCircum | R Documentation |
Get the circumference of the earth given a known point and initial bearing from that point
GreatCircleCircum(lon, lat, b, n = 72, a = 6378137, f = 1/298.257223563)
lon |
Numeric. A known longitude along a Great Circle. |
lat |
Numeric. A known latitude along a Great circle |
b |
Numeric. The initial bearing defining the Great Circle |
n |
How many points along the great circle should be modeled? More points
results in higher precision. Default is |
a |
Equatorial radius. Default is for WGS84 |
f |
Ellipsoidal flattening. Default is for WGS84 |
circum <- GreatCircleCircum(-98.844, 19.693, , b = 175.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.