Skip to contents

Extract the fixed regression coefficients.

Usage

# S3 method for galamm
fixef(object, ...)

Arguments

object

An object of class galamm, returned from galamm.

...

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

Value

A named numeric vector containing the requested fixed effects.

See also

ranef.galamm() for random effects, coef.galamm() for coefficients more generally, and confint.galamm() for confidence intervals.

Other details of model fit: VarCorr(), coef.galamm(), confint.galamm(), deviance.galamm(), factor_loadings.galamm(), family.galamm(), fitted.galamm(), formula.galamm(), llikAIC(), logLik.galamm(), nobs.galamm(), predict.galamm(), print.VarCorr.galamm(), ranef.galamm(), residuals.galamm(), sigma.galamm(), vcov.galamm()

Examples

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

# Extract fixed effects
fixef(count_mod)
#> (Intercept)        lbas       treat        lage          v4  lbas:treat 
#>   1.7935692   0.8845040  -0.3349626   0.4845851  -0.1610874   0.3383899