| fitted.SMN | R Documentation |
The fitted values are obtained by adding together the population fitted values (based only on the fixed effects estimates) and the estimated contributions of the random effects to the fitted values at grouping levels.
## S3 method for class 'SMN' fitted(object, ...)
object |
An object inheriting from class |
... |
Additional arguments. |
Vector of fitted values with length equal to nrow(data).
Fernanda L. Schumacher, Larissa A. Matos and Victor H. Lachos
smn.lmm, predict.SMN
fm1 = smn.lmm(distance ~ age+Sex, data=nlme::Orthodont, groupVar="Subject") fitted(fm1)