redistmetrics: Redistricting Metrics

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.7
Depends: R (≥ 2.10)
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: 2023-12-12
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>
License: MIT + file LICENSE
URL:, https::/
NeedsCompilation: yes
SystemRequirements: C++17
Citation: redistmetrics citation info
Materials: README NEWS
CRAN checks: redistmetrics results


Reference manual: redistmetrics.pdf
Vignettes: Measures of Compactness
Measures of Plan Distance
Other Measures
Measures of Partisan Advantage
Using 'redistmetrics'
Measures of Administrative Splits


Package source: redistmetrics_1.0.7.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): redistmetrics_1.0.7.tgz, r-oldrel (arm64): redistmetrics_1.0.7.tgz, r-release (x86_64): redistmetrics_1.0.7.tgz, r-oldrel (x86_64): redistmetrics_1.0.7.tgz
Old sources: redistmetrics archive

Reverse dependencies:

Reverse depends: redist
Reverse imports: alarmdata, redistverse
Reverse linking to: redist


Please use the canonical form to link to this page.