Description Usage Arguments Value
View source: R/cdtUtilities_functions.R
Distance matrix between two sets of points
1 | distance.Matrix(x, y, spheric = FALSE)
|
x |
a 2 column matrix or data.frame (first column is longitude, second is latitude); or a SpatialPoints*, SpatialPixels* or SpatialGrid* object. |
y |
Same as |
spheric |
If |
Matrix of distances. The row represent y
and the column x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.