Description Usage Arguments Value
geographic distance between two sets of points
1 | geoDist(x, y)
|
x, y |
length-2 (or 2-column object coercable to matrix) where the first element (or column) is longtitude, second is latitude |
returns the distance between x
and y
. If x
and y
have multiple rows, then returns a vector of the geographic distances between corresponding rows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.