Description Usage Arguments References
Distance in km. Input: data.frames with the column fr$lat, fr$lon, to$lat, to$lon
1 2 3 | as_radians(theta = 0)
calc_dist(fr, to)
|
fr |
dataframe of origin location(s), needs following columns: lat, lon |
to |
dataframe of destination location(s), needs following columns: lat, lon |
Calculate distance in km
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.