Simulation Methods for Legislative Redistricting

Enables researchers to sample redistricting plans from a pre-specified target distribution using Sequential Monte Carlo and Markov Chain Monte Carlo algorithms. The package allows for the implementation of various constraints in the redistricting process such as geographic compactness and population parity requirements. Tools for analysis such as computation of various summary statistics and plotting functionality are also included. The package implements methods described in Fifield, Higgins, Imai and Tarr (2020) , Fifield, Imai, Kawahara, and Kenny (2020) , and McCartan and Imai (2020) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.0.2 by Ben Fifield, 15 days ago

Report a bug at

Browse source code at

Authors: Ben Fifield [aut, cre] , Christopher T. Kenny [aut] , Cory McCartan [aut] , Alexander Tarr [aut] , Michael Higgins [ctb] , Jun Kawahara [aut] , Kosuke Imai [aut]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports Rcpp, spdep, sp, sf, coda, parallel, doParallel, foreach, lwgeom, dplyr, ggplot2, magrittr, readr, servr, sys, tibble, stringr

Suggests testthat, Rmpi, knitr, rmarkdown, igraph

Linking to Rcpp, RcppArmadillo, RcppEigen, BH

System requirements: gmp, libxml2, python

See at CRAN