| ranef.galamm {galamm} | R Documentation |
Extract random effects from galamm object.
Description
Extract random effects from galamm object.
Usage
## S3 method for class 'galamm'
ranef(object, ...)
Arguments
object |
An object of class |
... |
Optional parameters passed on to other methods. Currently not used. |
Value
An object of class ranef.galamm, containing the requested
random effects.
Author(s)
This function is derived from lme4::ranef.merMod, written by
Douglas Bates, Martin Maechler, Ben Bolker, Steve Walker.
References
Bates DM, Mächler M, Bolker B, Walker S (2015). “Fitting Linear Mixed-Effects Models Using Lme4.” Journal of Statistical Software, 67(1), 1–48. ISSN 1548-7660, doi:10.18637/jss.v067.i01.
See Also
fixef.galamm() for fixed effects and coef.galamm() for
coefficients more generally.
Other details of model fit:
VarCorr(),
coef.galamm(),
confint.galamm(),
deviance.galamm(),
factor_loadings.galamm(),
family.galamm(),
fitted.galamm(),
fixef(),
formula.galamm(),
llikAIC(),
logLik.galamm(),
nobs.galamm(),
predict.galamm(),
print.VarCorr.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 random effects
ranef(count_mod)