Learn R Programming

marginaleffects (version 0.3.3)

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

...

Additional arguments are pushed forward to predict().

type

Type(s) of prediction as string or 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