[R] change fitted line colour in lme() trellis plot?

Bill Simpson william.simpson at drdc-rddc.gc.ca
Thu Jan 19 20:44:31 CET 2006


If I used a groupedData object, if I do 
fit<-lme(blah)
then
plot(augPred(fit))
produces a nice trellis plot of the data along with the fitted lines

However I find that the lines and the data points are in the same colour
(light blue against a medium grey background). Is there a way to make
the lines in a different colour (e.g. black)? It would also be nice if
the line were plotted after the points so it is visible (I have a lot of
points and the line is obscured).

I have looked at par().

Thanks very much for any help.

Bill




More information about the R-help mailing list