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:

8 exports 0.74 score 41 dependencies 10 scripts 269 downloads

Last updated 11 months agofrom:e21463829c. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 16 2024
R-4.5-winNOTESep 16 2024
R-4.5-linuxNOTESep 16 2024
R-4.4-winNOTESep 16 2024
R-4.4-macNOTESep 16 2024
R-4.3-winOKSep 16 2024
R-4.3-macOKSep 16 2024

Exports:vb_continuousvb_differencevb_discretevb_plotvb_summaryvb_uncertaintyvbdfwtd_table

Dependencies:clicollapsecolorspacedplyrfansifarverFNNgenericsggplot2gluegtableisobandkernlabKernSmoothkslabelinglatticelifecyclemagrittrMASSMatrixmclustmgcvmulticoolmunsellmvtnormnlmepillarpkgconfigpracmaR6RColorBrewerRcpprlangscalestibbletidyselectutf8vctrsviridisLitewithr