Description Usage Arguments Value See Also
A function that calculates the geographical distance
matrix between the locations of an sf
object.
1 | get_spatial_dist_mat(sites_sf, site_id)
|
sites_sf |
an |
site_id |
the column name of the location ID |
a matrix of distances. Row and column names are a concatenation of "SITE_" and the location IDs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.