Learn R Programming

redist (version 4.2.0)

redist.adjacency: Adjacency List functionality for redist

Description

Creates an adjacency list that is zero indexed with no skips

Usage

redist.adjacency(shp, plan)

Value

Adjacency list

Arguments

shp

A SpatialPolygonsDataFrame or sf object. Required.

plan

A numeric vector (if only one map) or matrix with one row