margins: Marginal Effects for Model Objects

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

Version: 0.3.26
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: 2021-01-22
Author: Thomas J. Leeper ORCID iD [aut, cre], Jeffrey Arnold [ctb], Vincent Arel-Bundock [ctb], Jacob A. Long ORCID iD [ctb]
Maintainer: Thomas J. Leeper <thosjleeper at gmail.com>
BugReports: https://github.com/leeper/margins/issues
License: MIT + file LICENSE
URL: https://github.com/leeper/margins
NeedsCompilation: no
Citation: margins citation info
Materials: README NEWS
In views: CausalInference, Econometrics
CRAN checks: margins results

Documentation:

Reference manual: margins.pdf
Vignettes: Introduction to 'margins'
Comparison with Stata's 'margins' command
Technical Implementation Details

Downloads:

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

Reverse dependencies:

Reverse imports: dotwhisker, mhurdle
Reverse suggests: brmsmargins, broom, DeclareDesign, estimatr, ggeffects, interactions, konfound, marginaleffects, MarginalMediation

Linking:

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