Description Usage Arguments Value Author(s) Examples
Calculate distance between all pairs of sites
1 |
coords |
|
is.latlon |
are coordinates latitudes/longitudes? Default is |
lower.tri |
Return lower triangular part of the distance matrix? Default is |
Returns the distance between all pairs of sites
Tarik C. Gouhier (tarik.gouhier@gmail.com)
1 2 3 | coords=rbind(c(32, -125), c(43, -130))
# Compute great circle distance
coord2dist(coords)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.