The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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
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: svymargins_0.1.0.zip, r-release: svymargins_0.1.0.zip, r-oldrel: svymargins_0.1.0.zip
macOS binaries: r-release (arm64): svymargins_0.1.0.tgz, r-oldrel (arm64): svymargins_0.1.0.tgz, r-release (x86_64): svymargins_0.1.0.tgz, r-oldrel (x86_64): svymargins_0.1.0.tgz

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.