Reliable and flexible tools for scoring redistricting plans using common measures and metrics. These functions provide key direct access to tools useful for non-simulation analyses of redistricting plans, such as for measuring compactness or partisan fairness. Tools are designed to work with the 'redist' package seamlessly.
Version: | 1.0.9 |
Depends: | R (≥ 4.1.0) |
Imports: | sf, Rcpp, vctrs, cli, foreach, doParallel, magrittr, dplyr, rlang, geos, wk |
LinkingTo: | Rcpp, RcppArmadillo, RcppThread |
Suggests: | rmarkdown, knitr, testthat (≥ 3.0.0), ggplot2 |
Published: | 2025-04-29 |
DOI: | 10.32614/CRAN.package.redistmetrics |
Author: | Christopher T. Kenny [aut, cre], Cory McCartan [aut], Ben Fifield [aut], Kosuke Imai [aut] |
Maintainer: | Christopher T. Kenny <christopherkenny at fas.harvard.edu> |
BugReports: | https://github.com/alarm-redist/redistmetrics/issues |
License: | MIT + file LICENSE |
URL: | https://alarm-redist.org/redistmetrics/, https://github.com/alarm-redist/redistmetrics |
NeedsCompilation: | yes |
SystemRequirements: | C++17 |
Citation: | redistmetrics citation info |
Materials: | README NEWS |
CRAN checks: | redistmetrics results |
Reference manual: | redistmetrics.pdf |
Vignettes: |
Measures of Compactness (source, R code) Measures of Plan Distance (source, R code) Other Measures (source, R code) Measures of Partisan Advantage (source, R code) Using 'redistmetrics' (source, R code) Measures of Administrative Splits (source, R code) |
Package source: | redistmetrics_1.0.9.tar.gz |
Windows binaries: | r-devel: redistmetrics_1.0.9.zip, r-release: redistmetrics_1.0.9.zip, r-oldrel: redistmetrics_1.0.7.zip |
macOS binaries: | r-release (arm64): redistmetrics_1.0.9.tgz, r-oldrel (arm64): redistmetrics_1.0.9.tgz, r-release (x86_64): redistmetrics_1.0.9.tgz, r-oldrel (x86_64): redistmetrics_1.0.9.tgz |
Old sources: | redistmetrics archive |
Reverse depends: | redist |
Reverse imports: | alarmdata, redistverse |
Reverse linking to: | redist |
Please use the canonical form https://CRAN.R-project.org/package=redistmetrics to link to this page.