Learn R Programming

redist (version 4.2.0)

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

Value

a zero-indexed adjacency list (get_adj)

the modified redist_map object (set_adj)

Arguments

x

the redist_map object

adj

a new adjacency list.