[R] Factor level coloring in trellis plot

T.A.Wassenaar T.A.Wassenaar at rug.nl
Thu Feb 17 11:39:55 CET 2005


Hi :)

Was just wondering whether someone could help me with 
adjustments to trellis plots (parallel).

I've got two way multivariate data. I want to make 
parallel plots for one of the factors, and want to color 
the lines according to the other factor. The first thing I 
manage, but with the other I'm lost :( Can only change the 
overall color.

This is basically how far I get:

parallel(~data | factor, layout=c(4,1))

Any hints will be greatly appreciated.

Thanks in advance,

Tsjerk




More information about the R-help mailing list