This function utilizes the `spdep` and `igraph` packages to evaluate several measures of spatial connectivity.

polygonAdjacency(x, v='MUSYM', ...)

Arguments

x

a SpatialPolygonsDataFrame object

v

name of the field in the attribute table to use when searching for `common lines`, see details

...

additional arguments passed to spdep::poly2nb

Details

Examples are presented in this tutorial.

Value

A list object containing:

commonLines

An integer vector of feature IDs, that share a common boundary and attribute v.commonLines. Sometimes referred to as "common soil lines".

adjMat

A weighted adjacency matrix

Author

D.E. Beaudette