[R] plot.augPred sorted and labelled according second factor

Christoph Lehmann christoph.lehmann at gmx.ch
Thu Sep 29 19:04:31 CEST 2005


Hi

using this code example:

library(nlme)
fm1 <- lme(Orthodont, random = ~1)
plot(augPred(fm1))

is there any way to have the plots in each cell labelled and ordered
according to Orthodont$Sex? I.e. in addition to the bar with the label for
Orthodont$Subject there is another bar labelling the Sex of the subject?

thanks a lot

christoph

--




More information about the R-help mailing list