Package: blocs 0.1.1.9000

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

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

blocs_0.1.1.9000.tar.gz
blocs_0.1.1.9000.zip(r-4.5)blocs_0.1.1.9000.zip(r-4.4)blocs_0.1.1.9000.zip(r-4.3)
blocs_0.1.1.9000.tgz(r-4.4-any)blocs_0.1.1.9000.tgz(r-4.3-any)
blocs_0.1.1.9000.tar.gz(r-4.5-noble)blocs_0.1.1.9000.tar.gz(r-4.4-noble)
blocs_0.1.1.9000.tgz(r-4.4-emscripten)blocs_0.1.1.9000.tgz(r-4.3-emscripten)
blocs.pdf |blocs.html
blocs/json (API)
NEWS

# Install 'blocs' in R:
install.packages('blocs', repos = c('https://coletl.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/coletl/blocs/issues

Datasets:
  • anes - Sample of 2020 ANES cumulative data file

On CRAN:

2.70 score 10 scripts 236 downloads 8 exports 41 dependencies

Last updated 1 years agofrom:e21463829c. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-winNOTENov 15 2024
R-4.5-linuxNOTENov 15 2024
R-4.4-winNOTENov 15 2024
R-4.4-macNOTENov 15 2024
R-4.3-winOKNov 15 2024
R-4.3-macOKNov 15 2024

Exports:vb_continuousvb_differencevb_discretevb_plotvb_summaryvb_uncertaintyvbdfwtd_table

Dependencies:clicollapsecolorspacedplyrfansifarverFNNgenericsggplot2gluegtableisobandkernlabKernSmoothkslabelinglatticelifecyclemagrittrMASSMatrixmclustmgcvmulticoolmunsellmvtnormnlmepillarpkgconfigpracmaR6RColorBrewerRcpprlangscalestibbletidyselectutf8vctrsviridisLitewithr