Learn R Programming

marginaleffects (version 0.5.0)

summary.predictions: Summarize a predictions object

Description

Summarize a predictions object

Usage

# S3 method for predictions
summary(object, ...)

Arguments

object

An object produced by the predictions function

...

Additional arguments are passed to the predict() method supplied by the modeling package.These arguments are particularly useful for mixed-effects or bayesian models (see the online vignettes on the marginaleffects website). Available arguments can vary from model to model, depending on the range of supported arguments by each modeling package. See the "Model-Specific Arguments" section of the ?marginaleffects documentation for a non-exhaustive list of available arguments.

Value

Data frame of summary statistics for an object produced by the predictions function