blocs: 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) <doi:10.31235/osf.io/c9fkg>.

Getting started

Package details

AuthorJustin Grimmer [aut], Will Marble [aut] (<https://orcid.org/0000-0001-9352-5540>), Cole Tanigawa-Lau [aut, cre] (<https://orcid.org/0000-0002-8656-571X>)
MaintainerCole Tanigawa-Lau <coletl@stanford.edu>
LicenseGPL (>= 3)
Version0.1.1
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("blocs")

Try the blocs package in your browser

Any scripts or data that you put into this service are public.

blocs documentation built on April 3, 2023, 5:19 p.m.