Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


geomander (version 2.3.0)

adjacency: 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)

Value

list with nrow(shp) entries

Arguments

shp

sf dataframe

epsg

numeric EPSG code to planarize to. Default is 3857.

Examples

Run this code
data(precincts)
adj <- adjacency(precincts)

Run the code above in your browser using DataLab