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

autodiffEXPERIMENTAL - Enable Automatic Differentiation with JAX
comparisonsComparisons Between Predictions Made With Different Regressor...
components.marginaleffectsExtract components from marginaleffects objects
datagridData grids
expect_comparisons'tinytest' helper
expect_hypotheses'tinytest' helper
expect_margins'tinytest' helper
expect_predictions'tinytest' helper
expect_slopes'tinytest' helper
extract_calling_functionExtract calling function name from call object
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
marginaleffects_internal-classInternal S4 class for marginaleffects
new_marginaleffects_internalConstructor for marginaleffects_internal class
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
prune.marginaleffectsPrune marginaleffects objects to reduce memory usage
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 Sept. 13, 2025, 5:07 p.m.