Skip to contents

Currently, this function only returns the fixed effects.

Usage

# S3 method for class 'galamm'
coef(object, ...)

Arguments

object

An object of class galamm, from galamm.

...

Optional arguments passed on to other methods. Currently not used.

Value

A matrix with the requested coefficients.

See also

Examples

# Poisson GLMM
count_mod <- galamm(
  formula = y ~ lbas * treat + lage + v4 + (1 | subj),
  data = epilep, family = poisson
)

# Extract coefficients
coef(count_mod)
#> (Intercept)        lbas       treat        lage          v4  lbas:treat 
#>   1.7935692   0.8845040  -0.3349626   0.4845851  -0.1610874   0.3383899