Man pages for marginaleffects
Predictions, Comparisons, Slopes, Marginal Means, and Hypothesis Tests

comparisonsComparisons Between Predictions Made With Different Regressor...
complete_levelsCreate a data.frame with all factor or character levels
datagridData grids
expect_margins'tinytest' helper
expect_predictions'tinytest' helper
expect_slopes'tinytest' helper
get_coefGet a named vector of coefficients from a model object
get_datasetDownload and Read Datasets from 'marginaleffects' or...
get_drawsExtract Posterior Draws or Bootstrap Resamples from...
get_group_namesGet levels of the outcome variable in grouped or multivariate...
get_model_matrixGet a named model matrix
get_predictGet predicted values from a model object (internal function)
get_varcov_argsTake a 'summary()' style 'vcov' argument and convert it to...
get_vcovGet a named variance-covariance matrix from a model object
hypotheses(Non-)Linear Tests for Null Hypotheses, Joint Hypotheses,...
inferences(EXPERIMENTAL) Bootstrap, Conformal, and Simulation-Based...
knit_print.marginaleffectsPrint a marginaleffects object in knitr
plot_comparisonsPlot Conditional or Marginal Comparisons
plot_predictionsPlot Conditional or Marginal Predictions
plot_slopesPlot Conditional or Marginal Slopes
posterior_drawsalias to 'get_draws()' keep forever for backward...
predictionsPredictions
print.marginaleffectsPrint 'marginaleffects' objects
reexportsObjects exported from other packages
sanitize_model_specificMethod to raise model-specific warnings and errors
set_coefInternal function to set coefficients
slopesSlopes (aka Partial derivatives, Marginal Effects, or Trends)
marginaleffects documentation built on April 4, 2025, 4:36 a.m.