# Simulation Methods for Legislative Redistricting

## Documentation for package ‘redist’ version 2.0.2

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Code demos. Use demo() to run them.

## Help Pages

redist-package | Markov Chain Monte Carlo Methods for Redistricting Simulation
algdat.p10 | All Partitions of 25 Precincts into 3 Congressional Districts (10% Population Constraint)
algdat.p20 | All Partitions of 25 Precincts into 3 Congressional Districts (20% Population Constraint)
algdat.pfull | All Partitions of 25 Precincts into 3 Congressional Districts (No Population Constraint)
as.matrix.redist | Extract the redistricting matrix from a 'redist' object
fl25 | Florida 25 Precinct File
fl250 | Florida 250 Precinct File
fl70 | Florida 70 Precinct File
is_last | check if last edge
redist | Markov Chain Monte Carlo Methods for Redistricting Simulation
redist.adjacency | Adjacency List functionality for redist
redist.calc.frontier.size | Calculate Frontier Size
redist.combine | Combine successive runs of 'redist.mcmc'
redist.combine.anneal | redist.combine.anneal
redist.combine.mpi | Combine successive runs of 'redist.mcmc.mpi'
redist.compactness | Calculate compactness measures for a set of districts
redist.crsg | Redistricting via Compact Random Seed and Grow Algorithm
redist.diagplot | Diagnostic plotting functionality for MCMC redistricting.
redist.distances | Compute Distance between Partitions
redist.enumerate | Exact Redistricting Plan Enumerator
redist.findparams | Run parameter testing for 'redist.mcmc'
redist.init.enumpart | Initialize enumpart
redist.ipw | Inverse probability reweighting for MCMC Redistricting
redist.map | Creates a map with optional graph overlay
redist.mcmc | MCMC Redistricting Simulator
redist.mcmc.anneal | MCMC Redistricting Simulator using Simulated Annealing
redist.mcmc.mpi | MCMC Redistricting Simulator using MPI
redist.metrics | Calculate gerrymandering metrics for a set of districts
redist.parity | Calculates Population Parity
redist.prep.enumpart | Prepares a run of the enumpart algorithm by ordering edges
redist.read.enumpart | Read Results from enumpart
redist.rsg | Redistricting via Random Seed and Grow Algorithm
redist.run.enumpart | Runs the enumpart algorithm
redist.samplepart | Sample partitions using spanning trees
redist.segcalc | Segregation index calculation for MCMC redistricting.
redist.smc | SMC Redistricting Sampler
redist.smc_is_ci | Confidence Intervals for Importance Sampling Estimates