RCPA4: Data and Functions for "An R Companion to Political Analysis,
Fourth Edition"
Provides teaching-oriented functions and datasets for "An R Companion to Political Analysis, Fourth Edition" (forthcoming 2026). Functions produce readable tables and graphics for descriptive statistics, data transformation, confidence intervals, hypothesis testing, comparisons, cross-tabulation, and linear and logistic regression. Sampling weights are supported where appropriate, and analysis functions return reusable results for further examination. The package also includes curated political datasets designed for classroom instruction and independent practice. See Edwards and Pollock (forthcoming 2026) <https://www.poliscidata.com/textbooks/r_companion_4e.php>.
| Version: |
1.0.0 |
| Depends: |
R (≥ 4.0) |
| Imports: |
beepr, car, graphics, grDevices, haven, Hmisc, knitr, lmtest, methods, stats, survey, utils |
| Suggests: |
hexbin, rgl, scatterplot3d, gdata, testthat (≥ 3.0.0) |
| Published: |
2026-10-24 |
| DOI: |
10.32614/CRAN.package.RCPA4 (may not be active yet) |
| Author: |
Barry C. Edwards
[aut, cre],
Philip H. Pollock III [ctb] |
| Maintainer: |
Barry C. Edwards <bce at uga.edu> |
| License: |
CC0 |
| URL: |
https://www.poliscidata.com/textbooks/r_companion_4e.php |
| NeedsCompilation: |
no |
| Materials: |
NEWS |
| CRAN checks: |
RCPA4 results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=RCPA4
to link to this page.