marginaleffects
0.32.0Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests
Overview
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.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1013 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 83%
- Documented parameters
- 72%
- Return-value docs
- 65%
- References docs
- 9%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/vincentarelbundock/marginaleffects on 2026-08-16.
Dependencies
Code & Tests
People & History
44 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.32.0Latest
- 0.31.02025-11-15 · diff ↗
- 0.30.02025-09-13 · diff ↗
- 0.29.02025-08-28 · diff ↗
- 0.28.02025-06-25 · diff ↗
- 0.27.02025-06-04 · diff ↗
- 0.26.02025-05-19 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.25.12025-03-29 · diff ↗
- 0.25.02025-02-01 · diff ↗
- 0.24.02024-11-25 · diff ↗
- 0.23.02024-10-05 · diff ↗
- 0.22.02024-08-31 · diff ↗
- 0.21.02024-06-14 · diff ↗
- 0.20.12024-05-08 · diff ↗
Show 36 earlier events
- 0.20.02024-05-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.19.02024-04-14 · diff ↗
- 0.18.02024-02-05 · diff ↗
- 0.17.02023-12-09 · diff ↗
- 0.16.02023-10-20 · diff ↗
- 0.15.12023-09-17 · diff ↗
- 0.15.02023-09-11 · diff ↗
- 0.14.02023-08-15 · diff ↗
- 0.13.02023-06-19 · diff ↗
- 0.12.02023-05-20 · diff ↗
- 0.11.22023-05-13 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.11.12023-03-31 · diff ↗
- 0.11.02023-03-10 · diff ↗
- 0.10.02023-02-22 · diff ↗
- 0.9.02023-02-01 · diff ↗
- 0.8.12022-11-23 · diff ↗
- 0.8.02022-11-02 · diff ↗
- 0.7.12022-09-25 · diff ↗
- 0.7.02022-08-06 · diff ↗
- 0.6.02022-06-20 · diff ↗
- 0.5.02022-05-17 · diff ↗
- unarchivedReturned to CRAN2022-05-17
- archivedRemoved from CRAN2022-05-15check issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- 0.4.12022-03-28 · diff ↗
- 0.4.02022-03-13 · diff ↗
- 0.3.42022-03-03 · diff ↗
- 0.3.32022-01-26 · diff ↗
- 0.3.22022-01-18 · diff ↗
- 0.3.12022-01-09 · diff ↗
- 0.3.02022-01-08 · diff ↗
- 0.2.02021-10-18 · diff ↗
- 0.1.02021-09-29
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-09-29
- Total releases
- 44 / 5 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.6.0
- Download size
- 1.5 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("marginaleffects")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.