This function utilizes the `spdep` and `igraph` packages to evaluate several measures of spatial connectivity.
polygonAdjacency(x, v='MUSYM', ...)
a SpatialPolygonsDataFrame
object
name of the field in the attribute table to use when searching for `common lines`, see details
additional arguments passed to spdep::poly2nb
A list
object containing:
An integer vector of feature IDs, that share a common boundary and attribute v.commonLines
. Sometimes referred to as "common soil lines".
A weighted adjacency matrix
Examples are presented in this tutorial.