Dear R-help, I am trying to perform residual diagnostics on a repeated measures mixed effect model. With 3 time points as the fixed effect and subjects as the random effects.
> time.linearc<- summary(lmer(cnim~(as.factor(time)), random= ~1|subj, data=ex.rmc, na.action=na.omit)) > time.linearc When I perform : >res <- residuals(time.linearc) I receive the following error message: Error in val[, level] : incorrect number of dimensions If possible could someone explain the problem? Thanks, Rupa [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.