Learn R Programming

galamm (version 0.2.3)

fixef: Extract fixed effects from galamm objects

Description

Extract the fixed regression coefficients.

Usage

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

Value

A named numeric vector containing the requested fixed effects.

Arguments

object

An object of class galamm, returned from galamm.

...

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

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(), 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 fixed effects
fixef(count_mod)

Run the code above in your browser using DataLab