ranef.galamm | R Documentation |
Extract random effects from galamm object.
## S3 method for class 'galamm'
ranef(object, ...)
object |
An object of class |
... |
Optional parameters passed on to other methods. Currently not used. |
An object of class ranef.galamm
, containing the requested
random effects.
This function is derived from lme4::ranef.merMod
, written by
Douglas Bates, Martin Maechler, Ben Bolker, Steve Walker.
batesFittingLinearMixedEffects2015galamm
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()
,
response()
,
sigma.galamm()
,
vcov.galamm()
# Poisson GLMM
count_mod <- galamm(
formula = y ~ lbas * treat + lage + v4 + (1 | subj),
data = epilep, family = poisson
)
# Extract random effects
ranef(count_mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.