## S3 method for class 'lme':
ranef(object, augFrame, level, data, which, FUN,
standard, omitGroupingFactor, subset, \dots)
level
and,
optionally, other covariates summarized over groups. The returned
object inherits from classes random.effects.lme
and
data.frame
.lme
, fixed.effects.lme
,
coef.lme
, plot.ranef.lme
,
gsummary
data(Orthodont)
fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
ranef(fm1)
random.effects(fm1) # same as above
random.effects(fm1, augFrame = TRUE)
Run the code above in your browser using DataLab