[R] predict.lme() gives missings for new subjects

will.eagle at gmx.net will.eagle at gmx.net
Wed Jan 19 12:27:56 CET 2011


Hi,

why does predict.lme() give missings in the "predict.Subject" column for Subjects which are not in the original training set?

library(nlme)
example(predict.lme)
## c.f. Subject=="F30" has missing values.

How can I predict/impute values for such "new" Subjects based on the fitted model?

Thanks in advance,

Will



More information about the R-help mailing list