Skip to content
Prev 43748 / 398513 Next

xypplot (lattice): colours of lines

On Wednesday 04 February 2004 04:03, Umberto Maggiore wrote:
Umm, you should already have lines colored differently by different 
'subject's. Do you want to further differentiate by treatment ? 

If that's so, there's probably no good way. You could try creating a new 
factor combining subject and treatment and use that as the groups argument, 
e.g.,

factor(paste(as.character(subject), as.character(treatment), sep = "/"))

Deepayan