Description
Estimate and Visualize Voting Blocs' Partisan Contributions.
Description
Functions to combine data on voting blocs' size, turnout, and vote choice to estimate each bloc's vote contributions to the Democratic and Republican parties. The package also includes functions for uncertainty estimation and plotting. Users may define voting blocs along a discrete or continuous variable. The package implements methods described in Grimmer, Marble, and Tanigawa-Lau (2023) <doi:10.31235/osf.io/c9fkg>.
README.md
blocs: Estimate and Visualize Voting Blocs' Partisan Contributions
This package provides several functions to analyze voting blocs in U.S. elections, implementing the methods described in Grimmer, Marble, and Tanigawa-Lau (2023).
Installation
The blocs package is available to install from CRAN:
install.packages("blocs")
You may also install the development version from GitHub:
# install.packages("devtools")
devtools::install_github("coletl/blocs", dependencies = TRUE)