
Last chance! 50% off unlimited learning
Sale ends in
This mimics redist's redist.adjacency using GEOS to create the patterns, rather than sf. This is faster than that version, but forces projections.
adjacency(shp, epsg = 3857)
list with nrow(shp) entries
sf dataframe
numeric EPSG code to planarize to. Default is 3857.
data(precincts)
adj <- adjacency(precincts)
Run the code above in your browser using DataLab