A modern, 'S7'-based foundation for survey analysis spanning both probability and non-probability samples. Probability sample designs include Taylor series linearization, replicate weights (BRR, Fay, jackknife, bootstrap), and two-phase estimation, following 'Lumley' (2004) <doi:10.18637/jss.v009.i08>. Non-probability sample designs support bootstrap and jackknife variance estimation for opt-in panels and convenience samples. Provides a unified estimator interface for means, frequencies, totals, quantiles, ratios, correlations, regression, and t-tests, with weighted 'polychoric' and 'polyserial' correlation following 'Mannan' (2025) <doi:10.2139/ssrn.6580480>. A metadata system preserves 'haven'-style variable labels, value labels, and question-preface attributes through all operations. Uses a 'tidyselect' interface throughout.
| Version: | 1.0.0 |
| Depends: | R (≥ 4.3.0) |
| Imports: | S7 (≥ 0.1.0), rlang (≥ 1.0.0), tidyselect (≥ 1.2.0), cli (≥ 3.6.0), tibble (≥ 3.1.0), dplyr (≥ 1.1.0), marginaleffects (≥ 0.18.0), pbivnorm (≥ 0.6.0), stats, graphics |
| Suggests: | testthat (≥ 3.0.0), withr (≥ 2.5.0), surveytidy (≥ 0.5.0), survey (≥ 4.0), survival, srvyr (≥ 1.0), haven (≥ 2.5.0), lifecycle (≥ 1.0.0), broom (≥ 1.0.0), polycor (≥ 0.8.0), jtools (≥ 2.2.0), covr, knitr, rmarkdown |
| Published: | 2026-06-08 |
| DOI: | 10.32614/CRAN.package.surveycore |
| Author: | Jacob Dennen |
| Maintainer: | Jacob Dennen <jdenn0514 at gmail.com> |
| BugReports: | https://github.com/JDenn0514/surveycore/issues |
| License: | GPL (≥ 3) |
| URL: | https://github.com/JDenn0514/surveycore, https://jdenn0514.github.io/surveycore/ |
| NeedsCompilation: | no |
| Citation: | surveycore citation info |
| Materials: | README, NEWS |
| CRAN checks: | surveycore results [issues need fixing before 2026-06-17] |
| Reference manual: | surveycore.html , surveycore.pdf |
| Vignettes: |
Creating Survey Objects in surveycore (source, R code) Getting Started with surveycore (source, R code) surveycore vs. survey and srvyr (source, R code) |
| Package source: | surveycore_1.0.0.tar.gz |
| Windows binaries: | r-devel: surveycore_0.8.3.zip, r-release: surveycore_0.8.3.zip, r-oldrel: surveycore_0.8.3.zip |
| macOS binaries: | r-release (arm64): surveycore_0.8.3.tgz, r-oldrel (arm64): surveycore_0.8.3.tgz, r-release (x86_64): surveycore_0.8.3.tgz, r-oldrel (x86_64): surveycore_0.8.3.tgz |
| Old sources: | surveycore archive |
| Reverse imports: | surveytidy |
Please use the canonical form https://CRAN.R-project.org/package=surveycore to link to this page.