Learn R Programming

redist (version 4.2.0)

redist.read.enumpart: Read Results from enumpart

Description

Read Results from enumpart

Usage

redist.read.enumpart(out_path, skip = 0, n_max = -1L)

Value

district_membership matrix

Arguments

out_path

out_path specified in redist.run.enumpart

skip

number of lines to skip

n_max

max number of lines to read

References

Benjamin Fifield, Kosuke Imai, Jun Kawahara, and Christopher T Kenny. "The Essential Role of Empirical Validation in Legislative Redistricting Simulation." Forthcoming, Statistics and Public Policy.

Examples

Run this code
if (FALSE) {
temp <- tempdir()
cds <- redist.read.enumpart(out_path = paste0(temp, "/enumerated"))
}

Run the code above in your browser using DataLab