adjacency {geomander} | R Documentation |
Build Adjacency List
Description
This mimics redist's redist.adjacency using GEOS to create the patterns, rather than sf. This is faster than that version, but forces projections.
Usage
adjacency(shp, epsg = 3857)
Arguments
shp |
sf dataframe |
epsg |
numeric EPSG code to planarize to. Default is 3857. |
Value
list with nrow(shp) entries
Examples
data(precincts)
adj <- adjacency(precincts)
[Package geomander version 2.3.0 Index]