ggeffects: Create Tidy Data Frames of Marginal Effects for 'ggplot' from Model Outputs

Compute marginal effects and adjusted predictions from statistical models and returns the result as tidy data frames. These data frames are ready to use with the 'ggplot2'-package. Effects and predictions can be calculated for many different models. Interaction terms, splines and polynomial terms are also supported. The main functions are ggpredict(), ggemmeans() and ggeffect(). There is a generic plot()-method to plot the results using 'ggplot2'.

Version: 1.1.0
Depends: R (≥ 3.4)
Imports: graphics, insight (≥ 0.13.0), MASS, sjlabelled (≥ 1.1.2), stats
Suggests: AER, aod, betareg, brms, clubSandwich, effects (≥ 4.1-2), emmeans (≥ 1.4.1), gam, gamlss, gamm4, gee, geepack, ggplot2, GLMMadaptive, glmmTMB (≥ 1.0.0), gridExtra, haven, httr, knitr, lme4, logistf, magrittr, margins, Matrix, mice, MCMCglmm, mgcv, nlme, ordinal, parameters, prediction, pscl, quantreg, rmarkdown, rms, robustbase, rstanarm, rstantools, sandwich, see, sjstats, sjmisc (≥ 2.8.2), survey, survival, testthat, VGAM
Published: 2021-04-30
Author: Daniel Lüdecke ORCID iD [aut, cre], Frederik Aust ORCID iD [ctb], Sam Crawley ORCID iD [ctb], Mattan S. Ben-Shachar ORCID iD [ctb]
Maintainer: Daniel Lüdecke <d.luedecke at>
License: GPL-3
NeedsCompilation: no
Citation: ggeffects citation info
Materials: README NEWS
CRAN checks: ggeffects results


Reference manual: ggeffects.pdf
Vignettes: ggeffects: Marginal Effects of Regression Models
Introduction: Marginal Effects at Specific Values
Intoduction into Adjusted Predictions and Marginal Effects
Introduction: Adding Partial Residuals to Marginal Effects Plots
Introduction: Customize Plot Appearance
Introduction: Plotting Adjusted Predictions and Marginal Effects
Introduction: Adjusted Predictions and Marginal Effects for Random Effects Models
Practical example: Logistic Mixed Effects Model with Interaction Term
Practical example: (Cluster) Robust Standard Errors
Technical Details: Difference between ggpredict() and ggemmeans()
Technical Details: Different Output between Stata and ggeffects
Package source: ggeffects_1.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ggeffects_1.1.0.tgz, r-release (x86_64): ggeffects_1.1.0.tgz, r-oldrel: ggeffects_1.1.0.tgz
Old sources: ggeffects archive

Reverse dependencies:

Reverse imports: drhur, sjPlot
Reverse suggests: pubh


Please use the canonical form to link to this page.