Estimate and Visualize Voting Blocs' Partisan Contributions

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) .


R-CMD-check

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)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("blocs")

0.1.1 by Cole Tanigawa-Lau, 4 years ago


Browse source code at https://github.com/cran/blocs


Authors: Justin Grimmer [aut] , Will Marble [aut] , Cole Tanigawa-Lau [aut, cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports collapse, dplyr, ggplot2, ks, mgcv, rlang, tibble

Suggests devtools, questionr, reldist, testthat


See at CRAN