Description Usage Arguments Value Author(s) See Also Examples
Calculation of the euclidean distance between two points with stated coordinates (lat, lon)
1 |
lat1 |
Latitude of the regarded start point |
lon1 |
Longitude of the regarded start point |
lat2 |
Latitude of the regarded end point |
lon2 |
Longitude of the regarded end point |
unit |
Unit of the resulting distance: |
A single numeric value
Thomas Wieland
1 2 | dist.calc(51.556307, 9.947375, 49.009603, 8.417004)
# about 304 kilometers
|
[1] 303.6554
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.