Message-ID: <BAY8-F49WPXBemybNxv0006cb72@hotmail.com>
Date: 2004-02-04T10:03:51Z
From: Umberto Maggiore
Subject: xypplot (lattice): colours of lines
Using data from a multicenter study with a parallel-group design comparing
two treatments, I plotted each subject's time change of X after stratifying
for center:
xyplot(X ~ time | center, type="l", panel=panel.superpose, groups=subject)
Now I want these lines to take different colours according to the variable
"treatment". Any help?
Umberto
_________________________________________________________________
Filtri antispamming e antivirus per la tua casella di posta