Learn R Programming

marginaleffects (version 0.3.4)

get_group_names: Get levels of the outcome variable in grouped or multivariate models

Description

Get levels of the outcome variable in grouped or multivariate models

Usage

get_group_names(model, ...)

# S3 method for default get_group_names(model, ...)

# S3 method for polr get_group_names(model, ...)

# S3 method for multinom get_group_names(model, ...)

# S3 method for bracl get_group_names(model, ...)

# S3 method for brmsfit get_group_names(model, ...)

# S3 method for mblogit get_group_names(model, type, ...)

# S3 method for clm get_group_names(model, ...)

# S3 method for hurdle get_group_names(model, type = "count", ...)

Arguments

model

Model object

...

The "Model-Specific Arguments" section below gives a list of arguments which can modify the behavior of this function for certain models (e.g., mixed-effects or bayesian).

type

Type(s) of prediction as string or character vector. This can differ based on the model type, but will typically be a string such as: "response", "link", "probs", or "zero".

Value

A character vector