Learn R Programming

psycho (version 0.4.91)

get_contrasts.glm: Compute estimated contrasts from models.

Description

Compute estimated contrasts from models.

Usage

# S3 method for glm
get_contrasts(fit, formula = NULL, CI = 95,
  adjust = "tukey", ...)

Arguments

fit

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

adjust

P value adjustment method for frequentist models. Default is "tukey". Can be "holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr" or "none".

...

Arguments passed to or from other methods.