If i was not clear earlier, that is probably for my bad english
many many thanks, for all this help you are giving me
Umberto
From: Deepayan Sarkar [EMAIL PROTECTED]
To: Umberto Maggiore [EMAIL PROTECTED]
Subject: Re: [R] xyplot (lattice): colours of lines
Date: Fri, 6 Feb 2004 12:13:19 -0600
using either one of the following codes:
xyplot(X ~ time | center, type=l, panel=panel.superpose, groups=subject,
col = treatment)
xyplot(X ~ time | center, groups = subject,
panel = function(x, y, ...){
panel.superpose(x, y, col = treatment, type = l, ...)
})
I get two different colours
I would need a real example to figure this out. Could you send me your data as
an rda file (saved using save() and your code ? (No guarantees as to how fast
I can reply, though. I'm somewhat busy with other things.)
On Thursday 05 February 2004 01:52 pm, Umberto Maggiore wrote:
It works.