get_adj: Get and set the adjacency graph from a 'redist_map' object

View source: R/redist_map.R

get_adjR Documentation

Get and set the adjacency graph from a redist_map object

Description

Get and set the adjacency graph from a redist_map object

Usage

get_adj(x)

set_adj(x, adj)

Arguments

x

the redist_map object

adj

a new adjacency list.

Value

a zero-indexed adjacency list (get_adj)

the modified redist_map object (set_adj)


redist documentation built on Aug. 8, 2025, 7:44 p.m.