Learn R Programming

galamm (version 0.2.2)

coef.galamm: Extract galamm coefficients

Description

Currently, this function only returns the fixed effects.

Usage

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

Value

A matrix with the requested coefficients.

Arguments

object

An object of class galamm, from galamm.

...

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

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(), response(), sigma.galamm(), vcov.galamm()

Examples

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

# Extract coefficients
coef(count_mod)

Run the code above in your browser using DataLab