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 June 24, 2024, 9:10 a.m.