Learn R Programming

marginaleffects (version 0.3.3)

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 gam get_coef(model, ...)

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

Arguments

model

Model object

...

Additional arguments are pushed forward to predict().

Value

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