Package: marginaleffects 0.24.0

Vincent Arel-Bundock

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

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>.

Authors:Vincent Arel-Bundock [aut, cre, cph], Noah Greifer [ctb], Etienne Bacher [ctb], Grant McDermott [ctb], Andrew Heiss [ctb]

marginaleffects_0.24.0.tar.gz
marginaleffects_0.24.0.tar.gz(r-4.5-noble)marginaleffects_0.24.0.tar.gz(r-4.4-noble)
marginaleffects_0.24.0.tgz(r-4.4-emscripten)marginaleffects_0.24.0.tgz(r-4.3-emscripten)
marginaleffects.pdf |marginaleffects.html
marginaleffects/json (API)
NEWS

# Install 'marginaleffects' in R:
install.packages('marginaleffects', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/vincentarelbundock/marginaleffects/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

cpp

7.50 score 1 stars 9 packages 1.8k scripts 16k downloads 31 exports 8 dependencies

Last updated 1 days agofrom:d20c6c54ce. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linux-x86_64OKNov 25 2024

Exports:avg_comparisonsavg_predictionsavg_slopescomparisonsdatagriddatagridcfdeltamethodexpect_marginsexpect_predictionsexpect_slopesget_coefget_drawsget_group_namesget_model_matrixget_predictget_vcovglancehypothesesinferencesmarginal_meansmarginaleffectsmarginalmeansmeffectsplot_comparisonsplot_predictionsplot_slopesposterior_drawspredictionsset_coefslopestidy

Dependencies:backportscheckmatedata.tablegenericsinsightRcppRcppEigenrlang