Other packages > Find by keyword >

marginaleffects  

Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests
View on CRAN: Click here


Download and install marginaleffects package within the R console
Install from CRAN:
install.packages("marginaleffects")

Install from Github:
library("remotes")
install_github("cran/marginaleffects")

Install by package version:
library("remotes")
install_version("marginaleffects", "0.31.0")



Attach the package and use:
library("marginaleffects")
Maintained by
Vincent Arel-Bundock
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-09-29
Latest Update: 2025-06-25
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.
How to cite:
Vincent Arel-Bundock (2021). marginaleffects: Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests. R package version 0.31.0, https://cran.r-project.org/web/packages/marginaleffects. Accessed 04 Jun. 2026.
Previous versions and publish date:
0.1.0 (2021-09-29 10:10), 0.2.0 (2021-10-18 20:20), 0.3.0 (2022-01-08 15:52), 0.3.1 (2022-01-09 23:52), 0.3.2 (2022-01-18 08:52), 0.3.3 (2022-01-26 08:42), 0.3.4 (2022-03-03 11:50), 0.4.0 (2022-03-13 23:50), 0.4.1 (2022-03-28 01:10), 0.5.0 (2022-05-17 11:10), 0.6.0 (2022-06-20 13:20), 0.7.0 (2022-08-06 16:40), 0.7.1 (2022-09-25 13:20), 0.8.0 (2022-11-02 17:07), 0.8.1 (2022-11-23 23:20), 0.9.0 (2023-02-01 09:20), 0.10.0 (2023-02-22 10:00), 0.11.0 (2023-03-10 11:10), 0.11.1 (2023-03-31 20:30), 0.11.2 (2023-05-13 12:50), 0.12.0 (2023-05-20 13:50), 0.13.0 (2023-06-19 00:00), 0.14.0 (2023-08-15 14:30), 0.15.0 (2023-09-11 22:40), 0.15.1 (2023-09-17 02:20), 0.16.0 (2023-10-20 01:20), 0.17.0 (2023-12-09 18:20), 0.18.0 (2024-02-05 13:50), 0.19.0 (2024-04-14 00:00), 0.20.0 (2024-05-06 06:30), 0.20.1 (2024-05-08 14:10), 0.21.0 (2024-06-14 10:30), 0.22.0 (2024-08-31 15:10), 0.23.0 (2024-10-05 16:20), 0.24.0 (2024-11-25 18:10), 0.25.0 (2025-02-01 16:20), 0.25.1 (2025-03-29 19:10), 0.26.0 (2025-05-19 19:50), 0.27.0 (2025-06-04 19:50), 0.28.0 (2025-06-25 13:50), 0.29.0 (2025-08-28 19:40), 0.30.0 (2025-09-13 18:30), 0.31.0 (2025-11-15 04:50)
Other packages that cited marginaleffects R package
View marginaleffects citation profile
Other R packages that marginaleffects depends, imports, suggests or enhances
Complete documentation for marginaleffects
Functions, R codes and Examples using the marginaleffects R package
Some associated functions: comparisons . complete_levels . datagrid . datagridcf . deltamethod . expect_margins . expect_predictions . expect_slopes . get_averages . get_coef . get_group_names . get_model_matrix . get_predict . get_varcov_args . get_vcov . hypotheses . inferences . marginal_means . marginaleffects . marginalmeans . meffects . plot_comparisons . plot_predictions . plot_slopes . posterior_draws . posteriordraws . predictions . print.marginaleffects . reexports . sanitize_model_specific . set_coef . slopes . 
Some associated R codes: RcppExports.R . backtransform.R . bootstrap_boot.R . bootstrap_fwb.R . bootstrap_rsample.R . broom.R . by.R . ci.R . comparisons.R . complete_levels.R . conformal.R . datagrid.R . deprecated.R . equivalence.R . get_averages.R . get_coef.R . get_contrast_data.R . get_contrast_data_character.R . get_contrast_data_factor.R . get_contrast_data_logical.R . get_contrast_data_numeric.R . get_contrasts.R . get_group_names.R . get_hypothesis.R . get_jacobian.R . get_model_matrix.R . get_model_matrix_attribute.R . get_modeldata.R . get_predict.R . get_se_delta.R . get_term_labels.R . get_vcov.R . github_issue.R . hush.R . hypotheses.R . hypotheses_joint.R . imputation.R . inferences.R . mean_or_mode.R . methods.R . methods_MASS.R . methods_MCMCglmm.R . methods_Rchoice.R . methods_afex.R . methods_aod.R . methods_betareg.R . methods_bife.R . methods_biglm.R . methods_brglm2.R . methods_brms.R . methods_crch.R . methods_dataframe.R . methods_dbarts.R . methods_fixest.R . methods_gamlss.R . methods_glmmTMB.R . methods_glmx.R . methods_inferences_simulation.R . methods_lme4.R . methods_mclogit.R . methods_mgcv.R . methods_mhurdle.R . methods_mlm.R . methods_mlogit.R . methods_mlr3.R . methods_nlme.R . methods_nnet.R . methods_ordinal.R . methods_plm.R . methods_pscl.R . methods_quantreg.R . methods_rms.R . methods_robustlmm.R . methods_rstanarm.R . methods_sampleSelection.R . methods_scam.R . methods_stats.R . methods_survey.R . methods_survival.R . methods_tidymodels.R . methods_tobit1.R . modelarchive.R . myTryCatch.R . package.R . plot.R . plot_build.R . plot_comparisons.R . plot_predictions.R . plot_slopes.R . posterior_draws.R . predictions.R . print.R . recall.R . sanitize_comparison.R . sanitize_condition.R . sanitize_conf_level.R . sanitize_hypothesis.R . sanitize_interaction.R . sanitize_newdata.R . sanitize_numderiv.R . sanitize_type.R . sanitize_variables.R . sanitize_vcov.R . sanity.R . sanity_by.R . sanity_dots.R . sanity_model.R . set_coef.R . settings.R . slopes.R . sort.R . tinytest.R . type_dictionary.R . unpack_matrix_cols.R . utils.R .  Full marginaleffects package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA