tests/augPredmissing.R

library(nlme)
data(Orthodont)
# add a column with an NA that is not used in the fit
Orthodont$Others = runif(nrow(Orthodont))
is.na(Orthodont$Others[3]) = TRUE
fm1 = lme(Orthodont, random = ~1)
augPred(fm1, length.out = 2, level = c(0,1))

Try the nlme package in your browser

Any scripts or data that you put into this service are public.

nlme documentation built on April 7, 2018, 5:03 p.m.