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")
::install_github("coletl/blocs", dependencies = TRUE) devtools