[R] more than one level of grouping in xyplot

Guazzetti Stefano Stefano.Guazzetti at ausl.re.it
Thu Nov 21 14:40:17 CET 2002

Dear listers, 
Let use say that I want to display the Pixel dataset (in the NLME library)

xyplot(pixel~day|Dog, groups=Side, data=Pixel, panel=panel.superpose, panel.groups=panel.xyplot, type="b", pch=16)
(I know, there are better examples, ...)
Now, how could I change the colours of the symbols accordingly to another factor changing within subject and side form time to time? (let us say Pixel$Fever<-sample(rep(0:1,51)))

Thanks in advance, 



r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list