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.23
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: 2018-05-22
Author: Thomas J. Leeper ORCID iD [aut, cre], Jeffrey Arnold [ctb], Vincent Arel-Bundock [ctb]
Maintainer: Thomas J. Leeper <thosjleeper at>
License: MIT + file LICENSE
NeedsCompilation: no
Citation: margins citation info
Materials: README NEWS
In views: Econometrics
CRAN checks: margins results


Reference manual: margins.pdf
Vignettes: Introduction to 'margins'
Comparison with Stata's 'margins' command
Technical Implementation Details
Package source: margins_0.3.23.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: margins_0.3.23.tgz, r-oldrel: margins_0.3.23.tgz
Old sources: margins archive

Reverse dependencies:

Reverse imports: konfound
Reverse suggests: estimatr, interactions, MarginalMediation


Please use the canonical form to link to this page.