View source: R/dist_great_circle.R
dist_gc_vicenty | R Documentation |
The function calculates the Great-Circle distance between two points specified by radian latitude/longitude using the Vincenty inverse formula for ellipsoids (vicenty)
dist_gc_vicenty(long1, lat1, long2, lat2)
long1 |
Point 1 longitude in radians |
lat1 |
Point 1 latitude in radians |
long2 |
Point 2 longitude in radians |
lat2 |
Point 2 latitude in radians |
The distance between points 1 and 2 in meters
P. Savary
dist_gc_vicenty(long1 = -73.99420, lat1 = 40.75170, long2 = -87.63940, lat2 = 41.87440)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.