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.5.0
Depends: R (≥ 3.5.0)
Imports: checkmate, data.table, generics, insight (≥ 0.17.1), methods
Suggests: bench, brms, broom, datawizard, dplyr, emmeans, future, future.apply, ggdist, ggplot2, ggrepel, ggbeeswarm, haven, kableExtra, knitr, magrittr, margins, modelsummary, systemfonts, patchwork, quantreg, rlang, rmarkdown, testthat (≥ 3.0.0), tidyverse, vdiffr, AER, aod, betareg, bife, BH, brglm2, brmsmargins, crch, estimatr, fixest (≥ 0.10.1), gam, geepack, glmmTMB, glmx, itsadug, ivreg, lme4, lmerTest, MASS, mclogit, mgcv, mhurdle, mlogit, modelbased, nlme, nnet, ordinal, plm, pscl, RcppEigen, rms, robust, robustbase, robustlmm, rstantools, rstanarm, sampleSelection, sandwich, scam, speedglm, survey, survival, tobit1, truncreg, withr, covr, spelling
Published: 2022-05-17
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: Adjusted Predictions
Marginal Effects
Marginal Means
Case Studies and More: Bayes, Mixed-Effects, GAMs, etc.
Supported Models


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

Reverse dependencies:

Reverse suggests: insight, modelbased, ordbetareg, parameters


Please use the canonical form to link to this page.