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.20
Imports: utils, stats, prediction (≥ 0.2.8), data.table, graphics, MASS
Suggests: knitr, rmarkdown, testthat, ggplot2, gapminder, nnet, sandwich, stargazer
Enhances: AER, betareg, ordinal, survey
Published: 2018-04-24
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.20.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: margins_0.3.20.tgz, r-oldrel: margins_0.3.0.tgz
Old sources: margins archive

Reverse dependencies:

Reverse imports: konfound
Reverse suggests: estimatr, MarginalMediation


Please use the canonical form to link to this page.