svymargins: Predictive Margins for Survey Analyses

Predictive margins like in the 'Stata' procedure 'margins'. This package is based on the survey::svypredmean() function. Supported regression analyses are based on survey::svyglm() and svyVGAM::svy_vglm() functions (for multinomial logistic regression models).

Version: 0.1.0
Depends: R (≥ 4.2.0)
Imports: plyr, dplyr, stringr, survey, tidyselect, VGAM
Suggests: knitr, rmarkdown, svyVGAM
Published: 2026-07-06
DOI: 10.32614/CRAN.package.svymargins (may not be active yet)
Author: Tommi Härkänen [aut, cre]
Maintainer: Tommi Härkänen <tommi.harkanen at thl.fi>
License: GPL (≥ 3)
NeedsCompilation: no
Citation: svymargins citation info
CRAN checks: svymargins results

Documentation:

Reference manual: svymargins.html , svymargins.pdf
Vignettes: Introduction (source, R code)

Downloads:

Package source: svymargins_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=svymargins to link to this page.