From an nb list and point geometry, return a list of distances for each observation's neighbors list.
st_nb_dists(x, nb, longlat = NULL)
Spatial points. Typically the
A nb neighbor list such as created from
spdep::nbdists() for distance calculation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.