powered by
Generic function to extract random effects from glmmTMB models, both for the conditional model and zero inflation.
glmmTMB
# S3 method for glmmTMB ranef(object, ...)
a glmmTMB model.
some methods for this generic function require additional arguments.
Object of class ranef.glmmTMB with two components:
ranef.glmmTMB
a list of data frames, containing random effects for the conditional model.
a list of data frames, containing random effects for the zero inflation.
fixef.glmmTMB.
fixef.glmmTMB
# NOT RUN { data(sleepstudy, package="lme4") model <- glmmTMB(Reaction ~ Days + (1|Subject), sleepstudy) ranef(model) print(ranef(model), simplify=FALSE) ranef(model)$cond$Subject # }
Run the code above in your browser using DataLab