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)
This package provides several functions to analyze voting blocs in U.S. elections, implementing the methods described in Grimmer, Marble, and Tanigawa-Lau (2023).
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)