View source: R/mainfunctions.R
fitted.SMSN | 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 'SMSN'
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
smsn.lmm
, predict.SMSN
fm1 = smsn.lmm(distance ~ age+Sex, data=nlme::Orthodont, groupVar="Subject",
control=lmmControl(tol=.0001))
fitted(fm1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.