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: | 3.1.5 |
Depends: | R (≥ 3.5.0) |
Imports: | Rcpp (≥ 0.11.0), rlang, vctrs, tidyselect, stringr, dplyr (≥ 1.0.0), sf, doParallel, foreach, servr, sys, coda, ggplot2, patchwork, readr |
LinkingTo: | Rcpp, RcppArmadillo |
Suggests: | igraph, s2, lwgeom, withr, leaflet, leafgl, loo, Rmpi, knitr, rmarkdown, rmapshaper, scales, units, spdep, RSpectra, testthat (≥ 3.0.0) |
Published: | 2021-10-05 |
Author: | Christopher T. Kenny [aut, cre], Cory McCartan [aut], Ben Fifield [aut], Kosuke Imai [aut], Jun Kawahara [ctb], Alexander Tarr [ctb], Michael Higgins [ctb] |
Maintainer: | Christopher T. Kenny <christopherkenny at fas.harvard.edu> |
BugReports: | https://github.com/alarm-redist/redist/issues |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
URL: | https://alarm-redist.github.io/redist/ |
NeedsCompilation: | yes |
SystemRequirements: | OpenMPI, gmp, libxml2, python |
Citation: | redist citation info |
Materials: | NEWS ChangeLog |
CRAN checks: | redist results |
Reference manual: | redist.pdf |
Vignettes: |
Glossary of Key Redistricting Terms Map Pre-processing for Special Constraints Redistricting with Flip MCMC MPI / Slurm Sample Scripts Introduction to redist |
Package source: | redist_3.1.5.tar.gz |
Windows binaries: | r-devel: redist_3.1.5.zip, r-release: redist_3.1.5.zip, r-oldrel: redist_3.1.5.zip |
macOS binaries: | r-release (arm64): redist_3.1.5.tgz, r-oldrel (arm64): redist_3.1.5.tgz, r-release (x86_64): redist_3.1.5.tgz, r-oldrel (x86_64): redist_3.1.5.tgz |
Old sources: | redist archive |
Reverse suggests: | geomander |
Please use the canonical form https://CRAN.R-project.org/package=redist to link to this page.