Skip to content

plot.augPred sorted and labelled according second factor

1 message · Christoph Lehmann

#
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

--