Description Usage Arguments Value Author(s) See Also Examples
Calculate distance between a pair of coordinates
1 | latlon2dist (coords)
|
coords |
4-element vector of coordinates with format: |
Returns the great circle distance distance between the pair of coordinates
Tarik C. Gouhier (tarik.gouhier@gmail.com)
1 2 3 | coords=c(32, -125, 43, -130)
# Compute great circle distance
latlon2dist(coords)
|
synchrony 0.2.3 loaded.
[1] 1299.956
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.