Learn R Programming

psycho (version 0.4.91)

get_contrasts.stanreg: Compute estimated contrasts from models.

Description

Compute estimated contrasts from models.

Usage

# S3 method for stanreg
get_contrasts(fit, formula = NULL, CI = 90,
  ROPE_bounds = NULL, overlap = FALSE, ...)

Arguments

fit

A Bayesian model.

formula

A character vector (formula like format, i.e., including interactions or nesting terms) specifying the names of the predictors over which EMMs are desired.

CI

Determine the confidence or credible interval bounds.

ROPE_bounds

Optional bounds of the ROPE for Bayesian models.

overlap

Set to TRUE to add Overlap index (for Bayesian models).

...

Arguments passed to or from other methods.