Skip to content

sampcompR

0.3.3

Comparing and Visualizing Differences Between Surveys

0packages depend
3.3Kdownloads / year
35.0%test coverage
13/13checks pass

Overview

About
Maintained by Bjoern RohrFirst published 2024-07-1210 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.03
35.0%
Coverage · measured lines
100%
Documentation · exports
21
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 3,238 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
89%
Documented parameters
85%
Return-value docs
95%
References docs
15%

Downloads

3.3K
CRAN downloads in the past year
Rank #9,945 · ~9/day · ~275/mo
Daily download trend is not available in this view yet.
17630 days
98090 days
3.3K1 year
Compare downloads with other packages →
Also on110 r2u16 autocran

Repository

Repository
4Stars
0Forks
0Open issues
0Open PRs
2Releases
132Commits
1Contributors
132 commits · Last activity 2026-07-14

Stars over time

2024-11-20 · 42026-07-07 · 4

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/bjoernrohr/sampcompr on 2026-08-09.

Continuous integration (2)
GitHub ActionsGitLab CI
Reproducibility and dev environment (1)
renv
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (5)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (2)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author · added in 0.2.1
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

10 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.3.3Latest
    2026-05-28 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.2
    2025-12-09 · diff ↗
  • 0.3.1.2
    2025-07-04 · diff ↗
  • 0.3.1.1
    2025-07-02 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    2025-03-02 · diff ↗
  • 0.2.6
    2024-12-08 · diff ↗
  • 0.2.4
    2024-11-10 · diff ↗
  • 0.2.3
    2024-08-19 · diff ↗
  • unarchivedReturned to CRAN
    2024-08-19
  • archivedRemoved from CRAN
    2024-08-18
    check problems were not corrected even on re-submission
  • 0.2.1
    2024-07-15 · diff ↗
  • 0.2.0
    2024-07-12
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-07-12
Total releases
10 / 2 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
35 KB / 1 file
Download size
305 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sampcompR")
Rohr, B., & Felderer, B. (2026). sampcompR: Comparing and Visualizing Differences Between Surveys (Version 0.3.3) [Computer software]. https://doi.org/10.32614/CRAN.package.sampcompR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sampcompR version 0.3.3 [Data set]. HJJB, LLC. Data release v2026-08-13. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-13, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy