marginaleffects: Marginal Effects, Marginal Means, Predictions, and Contrasts

Compute, summarize, and plot marginal effects, adjusted predictions, contrasts, and marginal means for a wide variety of models.

Version: 0.4.1
Depends: R (≥ 3.5.0)
Imports: checkmate, generics, insight (≥ 0.16.0), methods
Suggests: bench, brms, broom, data.table, dplyr, emmeans, ggdist, ggplot2, ggbeeswarm, haven, kableExtra, knitr, magrittr, margins, modelsummary, systemfonts, patchwork, quantreg, rlang, rmarkdown, testthat (≥ 3.0.0), tidyverse, vdiffr, AER, aod, betareg, bife, brglm2, crch, estimatr, fixest (≥ 0.10.1), gam, geepack, glmx, itsadug, ivreg, lme4, lmerTest, MASS, mclogit, mgcv, nlme, nnet, ordinal, plm, pscl, rms, robust, robustbase, robustlmm, rstantools, rstanarm, sampleSelection, sandwich, scam, speedglm, survey, survival, truncreg, covr, spelling
Published: 2022-03-27
Author: Vincent Arel-Bundock ORCID iD [aut, cre, cph]
Maintainer: Vincent Arel-Bundock <vincent.arel-bundock at>
License: GPL (≥ 3)
Copyright: inst/COPYRIGHTS
marginaleffects copyright details
NeedsCompilation: no
Language: en-US
Materials: README NEWS
In views: Econometrics
CRAN checks: marginaleffects results


Reference manual: marginaleffects.pdf
Vignettes: Case Studies
Marginal Means
Marginal Effects
Adjusted Predictions
Supported Models


Package source: marginaleffects_0.4.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): marginaleffects_0.4.1.tgz, r-release (x86_64): marginaleffects_0.4.1.tgz, r-oldrel: marginaleffects_0.4.1.tgz
Old sources: marginaleffects archive

Reverse dependencies:

Reverse suggests: insight, modelbased, ordbetareg


Please use the canonical form to link to this page.