distance_degrees_to_km | R Documentation |
Formula to calculate distances between two lon-lat points
distance_degrees_to_km(lon1, lat1, lon2, lat2)
lon1 |
The name of the column containing the first point longitude |
lat1 |
The name of the column containing the first point latitude |
lon2 |
The name of the column containing the second point longitude |
lat2 |
The name of the column containing the second point latitude |
kilometers <- distance_degrees_to_km(lon1, lat1, lon2, lat2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.