Learn R Programming

marginaleffects (version 0.3.4)

get_coef: Get a named vector of coefficients from a model object (internal function)

Description

Get a named vector of coefficients from a model object (internal function)

Usage

get_coef(model, ...)

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

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

# S3 method for betareg get_coef(model, ...)

# S3 method for brmultinom get_coef(model, ...)

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

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

# S3 method for lmerModLmerTest get_coef(model, ...)

# S3 method for lmerMod get_coef(model, ...)

# S3 method for gam get_coef(model, ...)

# S3 method for scam get_coef(model, ...)

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).

Value

A named vector of coefficients. The names must match those of the variance matrix.