Skip to content

marginaleffects

0.32.0

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

47packages depend
408.3Kdownloads / year
0.3%test coverage
13/13checks pass

Overview

About
Maintained by Vincent Arel-BundockFirst published 2021-09-2944 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 3.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.00
0.3%
Coverage · measured lines
100%
Documentation · exports
8
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 309 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
72%
Return-value docs
65%
References docs
9%

Downloads

408.3K
CRAN downloads in the past year
Rank #614 · ~1.1K/day · ~34K/mo
Daily download trend is not available in this view yet.
29K30 days
100.7K90 days
408.3K1 year
Compare downloads with other packages →
Also on6.8K r2u19 autocran16.2K conda_forge73 c2d4u

Repository

Repository
630Stars
70Forks
10Open issues
6Open PRs
22Releases
5,172Commits
42Contributors
5,172 commits · Last activity 2026-08-16 · +1% stars, 30d

Stars over time

2025-08-14 · 5462026-07-31 · 629

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Makefile
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (4)
Contributor · added in 0.10.0
Contributor · added in 0.8.0
Contributor · added in 0.24.0
Contributor · added in 0.24.0
Copyright holders (1)
Author, Maintainer, Copyright holder
Listed in earlier versions (1)
no longer listed · 0.7.1 to 0.18.0
Package Timeline

44 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.32.0Latest
    2026-02-14 · current release · diff ↗
  • 0.31.0
    2025-11-15 · diff ↗
  • 0.30.0
    2025-09-13 · diff ↗
  • 0.29.0
    2025-08-28 · diff ↗
  • 0.28.0
    2025-06-25 · diff ↗
  • 0.27.0
    2025-06-04 · diff ↗
  • 0.26.0
    2025-05-19 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.25.1
    2025-03-29 · diff ↗
  • 0.25.0
    2025-02-01 · diff ↗
  • 0.24.0
    2024-11-25 · diff ↗
  • 0.23.0
    2024-10-05 · diff ↗
  • 0.22.0
    2024-08-31 · diff ↗
  • 0.21.0
    2024-06-14 · diff ↗
  • 0.20.1
    2024-05-08 · diff ↗
Show 36 earlier events
  • 0.20.0
    2024-05-06 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.19.0
    2024-04-14 · diff ↗
  • 0.18.0
    2024-02-05 · diff ↗
  • 0.17.0
    2023-12-09 · diff ↗
  • 0.16.0
    2023-10-20 · diff ↗
  • 0.15.1
    2023-09-17 · diff ↗
  • 0.15.0
    2023-09-11 · diff ↗
  • 0.14.0
    2023-08-15 · diff ↗
  • 0.13.0
    2023-06-19 · diff ↗
  • 0.12.0
    2023-05-20 · diff ↗
  • 0.11.2
    2023-05-13 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.11.1
    2023-03-31 · diff ↗
  • 0.11.0
    2023-03-10 · diff ↗
  • 0.10.0
    2023-02-22 · diff ↗
  • 0.9.0
    2023-02-01 · diff ↗
  • 0.8.1
    2022-11-23 · diff ↗
  • 0.8.0
    2022-11-02 · diff ↗
  • 0.7.1
    2022-09-25 · diff ↗
  • 0.7.0
    2022-08-06 · diff ↗
  • 0.6.0
    2022-06-20 · diff ↗
  • 0.5.0
    2022-05-17 · diff ↗
  • unarchivedReturned to CRAN
    2022-05-17
  • archivedRemoved from CRAN
    2022-05-15
    check issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.1
    2022-03-28 · diff ↗
  • 0.4.0
    2022-03-13 · diff ↗
  • 0.3.4
    2022-03-03 · diff ↗
  • 0.3.3
    2022-01-26 · diff ↗
  • 0.3.2
    2022-01-18 · diff ↗
  • 0.3.1
    2022-01-09 · diff ↗
  • 0.3.0
    2022-01-08 · diff ↗
  • 0.2.0
    2021-10-18 · diff ↗
  • 0.1.0
    2021-09-29
  • R
    R 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")
Arel-Bundock, V., Bacher, E., Greifer, N., Heiss, A., & McDermott, G. (2026). marginaleffects: Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests (Version 0.32.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for marginaleffects version 0.32.0 [Data set]. HJJB, LLC. Data release v2026-08-17. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy