The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
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[@]dogado.de.

margins: Marginal Effects for Model Objects

An R port of the margins command from 'Stata', which can be used to calculate marginal (or partial) effects from model objects.

Version: 0.3.28
Imports: utils, stats, prediction (≥ 0.3.6), data.table, graphics, grDevices, MASS
Suggests: methods, knitr, rmarkdown, testthat, ggplot2, gapminder, sandwich, stargazer, lme4
Enhances: AER, betareg, nnet, ordinal, survey
Published: 2024-07-31
DOI: 10.32614/CRAN.package.margins
Author: Thomas J. Leeper ORCID iD [aut], Jeffrey Arnold [ctb], Vincent Arel-Bundock [ctb], Jacob A. Long ORCID iD [ctb], Ben Bolker ORCID iD [ctb, cre]
Maintainer: Ben Bolker <bolker at mcmaster.ca>
BugReports: https://github.com/bbolker/margins/issues
License: MIT + file LICENSE
URL: https://github.com/bbolker/margins
NeedsCompilation: no
Citation: margins citation info
Materials: README NEWS
In views: CausalInference, Econometrics, MixedModels
CRAN checks: margins results

Documentation:

Reference manual: margins.pdf
Vignettes: Introduction to 'margins' (source, R code)
Comparison with Stata's 'margins' command (source, R code)
Technical Implementation Details (source, R code)

Downloads:

Package source: margins_0.3.28.tar.gz
Windows binaries: r-devel: margins_0.3.28.zip, r-release: margins_0.3.28.zip, r-oldrel: margins_0.3.28.zip
macOS binaries: r-release (arm64): margins_0.3.28.tgz, r-oldrel (arm64): margins_0.3.28.tgz, r-release (x86_64): margins_0.3.28.tgz, r-oldrel (x86_64): margins_0.3.28.tgz
Old sources: margins archive

Reverse dependencies:

Reverse imports: mhurdle
Reverse suggests: beeca, brmsmargins, broom.helpers, estimatr, interactions, MarginalMediation

Linking:

Please use the canonical form https://CRAN.R-project.org/package=margins 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.
Health stats visible at Monitor.