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) <doi:10.1080/10618600.2020.1739532>, Fifield, Imai, Kawahara, and Kenny (2020) <doi:10.1080/2330443X.2020.1791773>, and McCartan and Imai (2020) <arXiv: 2008.06131>.
Version: | 2.0.2 |
Depends: | R (≥ 3.5.0) |
Imports: | Rcpp (≥ 0.11.0), spdep, sp, sf, coda, parallel, doParallel, foreach, lwgeom, dplyr, ggplot2, magrittr, readr, servr, sys, tibble, stringr |
LinkingTo: | Rcpp, RcppArmadillo, RcppEigen, BH |
Suggests: | testthat, Rmpi, knitr, rmarkdown, igraph |
Published: | 2020-10-13 |
Author: | Ben Fifield [aut, cre], Christopher T. Kenny [aut], Cory McCartan [aut], Alexander Tarr [aut], Michael Higgins [ctb], Jun Kawahara [aut], Kosuke Imai [aut] |
Maintainer: | Ben Fifield <benfifield at gmail.com> |
BugReports: | https://github.com/kosukeimai/redist/issues |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
NeedsCompilation: | yes |
SystemRequirements: | gmp, libxml2, python |
Citation: | redist citation info |
Materials: | ChangeLog |
CRAN checks: | redist results |
Reference manual: | redist.pdf |
Vignettes: |
Intro-to-redist |
Package source: | redist_2.0.2.tar.gz |
Windows binaries: | r-devel: redist_2.0.2.zip, r-release: redist_2.0.2.zip, r-oldrel: redist_2.0.2.zip |
macOS binaries: | r-release: redist_2.0.2.tgz, r-oldrel: redist_2.0.2.tgz |
Old sources: | redist archive |
Please use the canonical form https://CRAN.R-project.org/package=redist to link to this page.