get_coef {marginaleffects} | R Documentation |
Get a named vector of coefficients from a model object
Description
Mostly for internal use, but can be useful because the output is consistent across model classes.
Usage
get_coef(model, ...)
## Default S3 method:
get_coef(model, ...)
## S3 method for class 'polr'
get_coef(model, ...)
## S3 method for class 'multinom_weightit'
get_coef(model, ...)
## S3 method for class 'afex_aov'
get_coef(model, ...)
## S3 method for class 'betareg'
get_coef(model, ...)
## S3 method for class 'multinom'
get_coef(model, ...)
## S3 method for class 'brmultinom'
get_coef(model, ...)
## S3 method for class 'bracl'
get_coef(model, ...)
## S3 method for class 'brmsfit'
get_coef(model, ...)
## S3 method for class 'data.frame'
get_coef(model, ...)
## S3 method for class 'gamlss'
get_coef(model, ...)
## S3 method for class 'glmmTMB'
get_coef(model, ...)
## S3 method for class 'glmgee'
get_coef(model, ...)
## S3 method for class 'merMod'
get_coef(model, ...)
## S3 method for class 'lmerModLmerTest'
get_coef(model, ...)
## S3 method for class 'lmerMod'
get_coef(model, ...)
## S3 method for class 'mblogit'
get_coef(model, ...)
## S3 method for class 'gam'
get_coef(model, ...)
## S3 method for class 'mlm'
get_coef(model, ...)
## S3 method for class 'selection'
get_coef(model, ...)
## S3 method for class 'scam'
get_coef(model, ...)
## S3 method for class 'nls'
get_coef(model, ...)
## S3 method for class 'svyolr'
get_coef(model, ...)
## S3 method for class 'systemfit'
get_coef(model, ...)
## S3 method for class 'workflow'
get_coef(model, ...)
Arguments
model |
Model object |
... |
Additional arguments are passed to the |
Value
A named vector of coefficients. The names must match those of the variance matrix.
[Package marginaleffects version 0.28.0 Index]