Skip to content

sampcompR

0.3.3Package record

Comparing and Visualizing Differences Between Surveys

0packages depend
3.6Kdownloads / year
35.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.3.3
  • Fixed a bug in multivariate comparison where function broke during weighting
  • Relabled some default plot labels

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.3.3
READMEYes · 3,238 wordsVignettesNoNEWSYes · 100% structured · mentions 0.3.3Citation fileNoWebsiteYes · pkgdown
Help pages
20
Examples that run
72%13 run in a plain check · 5 never run
Exported functions with examples
95%
Documented parameters
85%
Return-value docs
95%
Help pages citing references
15%

Downloads

3.6K
CRAN downloads in the past year
Rank #10,198 · ~10/day · ~299/mo
Daily download trend is not available in this view yet.
35130 days
1K90 days
3.6K1 year
Compare downloads with other packages →
Also on83 r2u6 autocran

Repository

4Stars
1Forks
0Open issues
0Open PRs
2Releases
132Commits
1Commit identities
132 commits · Last activity 2026-07-14 · 0% stars, 30d · Default branch at 0.3.4, ahead of CRAN 0.3.3 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
0%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
0

Stars over time

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

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

Checks run against github.com/bjoernrohr/sampcompr on 2026-10-21.

Continuous integration (3)
GitHub ActionsR CMD check workflowGitLab CI

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-07-14 · The repository has a site deploy workflow

pkgdown site last built 2026-07-14

Reproducibility and dev environment (1)
renv
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing sampcompR adds 95 packages (50 with compiled code, 74 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (5)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.2.0 (2024), Copyright holder
Author · added in 0.2.1
Releases (10)

Pick two releases to compare their code metrics.

  • 0.3.3Latest
    record
    2026-05-28 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.2
    record
    2025-12-09 · diff ↗ ·
    added 1 export
    card
  • 0.3.1.2
    record
    2025-07-04 · diff ↗
  • 0.3.1.1
    record
    2025-07-02 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    record
    2025-03-02 · diff ↗ ·
    added 3 exports
    biv_bias_per_variable, heatmap_biv_compare, missing_table
  • 0.2.6
    record
    2024-12-08 · diff ↗
  • 0.2.4
    record
    2024-11-10 · diff ↗
  • unarchivedReturned to CRAN
    2024-08-19
  • 0.2.3
    record
    2024-08-19 · diff ↗
  • archivedRemoved from CRAN
    2024-08-18
    check problems were not corrected even on re-submission
  • 0.2.1
    record
    2024-07-15 · diff ↗ ·
    added 2 exports
    biv_per_variable, multi_per_variable
  • 0.2.0
    record
    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

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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