Package: sampcompR
Title: Comparing and Visualizing Differences Between Surveys
Version: 0.3.3
Authors@R: 
    c(person("Bjoern", "Rohr",  email= "bjoern.rohr@gesis.org", role = c("aut", "cre","cph")),
    person("Barbara", "Felderer", email= "barbara.felderer@gesis.org", role = c("aut")))
Description: Easily analyze and visualize differences between samples (e.g., benchmark comparisons, nonresponse comparisons in surveys) on three levels. The comparisons can be univariate, bivariate or multivariate. On univariate level the variables of interest of a survey and a comparison survey (i.e. benchmark) are compared, by calculating one of several difference measures (e.g., relative difference in mean), and an average difference between the surveys. On bivariate level a function can calculate significant differences in correlations for the surveys. And on multivariate levels a function can calculate significant differences in model coefficients between the surveys of comparison. All of those differences can be easily plotted and outputted as a table. For more  detailed information on the methods and example use see Rohr, B., Silber, H., & Felderer, B. (2024). Comparing the Accuracy of Univariate, Bivariate, and Multivariate Estimates across Probability and Nonprobability Surveys with Population Benchmarks. Sociological Methodology <doi:10.1177/00811750241280963>.
License: GPL-3
Encoding: UTF-8
RoxygenNote: 7.3.2
Depends: R (>= 4.1.0)
Imports: boot, data.table, dplyr, forcats, furrr, future, ggplot2,
        Hmisc, lmtest, magrittr, psych, purrr, readr, reshape2,
        sandwich, stats, survey, svrep, tibble, tidyr, rlang
Suggests: testthat (>= 3.0.0), jtools, utils, parallel, stargazer
Config/testthat/edition: 3
URL: https://bjoernrohr.github.io/sampcompR/
NeedsCompilation: no
Packaged: 2026-05-28 07:53:58 UTC; rohrbn
Author: Bjoern Rohr [aut, cre, cph],
  Barbara Felderer [aut]
Maintainer: Bjoern Rohr <bjoern.rohr@gesis.org>
Repository: CRAN
Date/Publication: 2026-05-28 08:30:02 UTC
Built: R 4.6.0; ; 2026-05-28 11:58:15 UTC; unix
