Creates an adjacency list that is zero indexed with no skips
redist.adjacency(shp, plan, district_membership)
A SpatialPolygonsDataFrame or sf object. Required.
A numeric vector (if only one map) or matrix with one row
Deprecated -- Use plan. A numeric vector (if only one map) or matrix with one row. for each precinct and one column for each map. Optional. Checks for contiguity within districts if provided.
Adjacency list