coef.galamm {galamm}R Documentation

Extract galamm coefficients

Description

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

fixef.galamm() for fixed effects, ranef.galamm() for random effects, and coef() for the generic function.

Other details of model fit: VarCorr(), confint.galamm(), deviance.galamm(), factor_loadings.galamm(), family.galamm(), fitted.galamm(), fixef(), 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 coefficients
coef(count_mod)


[Package galamm version 0.2.0 Index]