Skip to content

marginaleffects

Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests

v0.32.0 · Feb 13, 2026 · GPL (>= 3)

Description

Compute and plot predictions, slopes, marginal means, and comparisons (contrasts, risk ratios, odds, etc.) for over 100 classes of statistical and machine learning models in R. Conduct linear and non-linear hypothesis tests, or equivalence tests. Calculate uncertainty estimates using the delta method, bootstrapping, or simulation-based inference. Details can be found in Arel-Bundock, Greifer, and Heiss (2024) <doi:10.18637/jss.v111.i09>.

Downloads

59.4K

Last 30 days

461st

111.9K

Last 90 days

343.3K

Last year

Trend: +106.1% (30d vs prior 30d)

CRAN Check Status

1 NOTE
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (1 non-OK)
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘arrow’

Check History

NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘arrow’

Reverse Dependencies (40)

Dependency Network

Dependencies Reverse dependencies backports checkmate data.table generics Formula insight rlang SynergyLMM adrftools bsitar clarify dotwhisker etwfe ggfixest healthequal mvgam pminternal psre spatialreg DAGassist DeclareDesign MatchIt +25 more reverse deps marginaleffects

Version History

new 0.32.0 Mar 10, 2026
updated 0.32.0 ← 0.31.0 diff Feb 13, 2026
updated 0.31.0 ← 0.30.0 diff Nov 14, 2025
updated 0.30.0 ← 0.29.0 diff Sep 12, 2025
updated 0.29.0 ← 0.28.0 diff Aug 27, 2025
updated 0.28.0 ← 0.27.0 diff Jun 24, 2025
updated 0.27.0 ← 0.26.0 diff Jun 3, 2025
updated 0.26.0 ← 0.25.1 diff May 18, 2025
updated 0.25.1 ← 0.25.0 diff Mar 28, 2025
updated 0.25.0 ← 0.24.0 diff Jan 31, 2025
updated 0.24.0 ← 0.23.0 diff Nov 24, 2024
updated 0.23.0 ← 0.22.0 diff Oct 4, 2024
updated 0.22.0 ← 0.21.0 diff Aug 30, 2024
updated 0.21.0 ← 0.20.1 diff Jun 13, 2024
updated 0.20.1 ← 0.20.0 diff May 7, 2024
updated 0.20.0 ← 0.19.0 diff May 5, 2024
updated 0.19.0 ← 0.18.0 diff Apr 13, 2024
updated 0.18.0 ← 0.17.0 diff Feb 4, 2024
updated 0.17.0 ← 0.16.0 diff Dec 8, 2023
updated 0.16.0 ← 0.15.1 diff Oct 19, 2023