Description Usage Arguments Value
Calculates spatial distance between crimes (in km)
1 | compareSpatial(C1, C2, longlat = FALSE)
|
C1 |
(n x 2) matrix of coordinates for the crimes |
C2 |
(n x 2) matrix of coordinates for the crimes |
longlat |
(logical) if true, the the coordinates are in (Long,Lat), else |
numeric vector of distances between the crimes (in km)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.