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.25.0")



Attach the package and use:
library("marginaleffects")
Maintained by
Vincent Arel-Bundock
[Scholar Profile | Author Map]
First Published: 2021-09-29
Latest Update: 2024-02-05
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.25.0, https://cran.r-project.org/web/packages/marginaleffects. Accessed 16 Apr. 2025.
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)
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
03/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/0904/1004/1104/1204/1304/14Downloads for marginaleffects30040050060070080090010001100120013001400TrendBars

Today's Hot Picks in Authors and Packages

MultiKink  
Estimation and Inference for Multi-Kink Quantile Regression
Estimation and inference for multiple kink quantile regression for longitudinal data and the i.i.d d ...
Download / Learn more Package Citations See dependency  
hkclustering  
Ensemble Clustering using K Means and Hierarchical Clustering
Implements an ensemble algorithm for clustering combining a k-means and a hierarchical clustering ap ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
MM4LMM  
Inference of Linear Mixed Models Through MM Algorithm
The main function MMEst() performs (Restricted) Maximum Likelihood in a variance component mixed mod ...
Download / Learn more Package Citations See dependency  
apache.sedona  
R Interface for Apache Sedona
R interface for 'Apache Sedona' based on 'sparklyr' (). ...
Download / Learn more Package Citations See dependency  
datadictionary  
Create a Data Dictionary
Creates a data dictionary from any dataframe or tibble in your R environment. You can opt to add va ...
Download / Learn more Package Citations See dependency  

24,012

R Packages

207,311

Dependencies

64,993

Author Associations

24,013

Publication Badges

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