[R] using xyplot with groups and panel.linejoin

Dieter Menne dieter.menne at menne-biomed.de
Fri Mar 7 11:56:46 CET 2008


 <k.m.csillery <at> sms.ed.ac.uk> writes:

> I am using xyplot() with many groups like this:
> 
> statselect <- levels(dat$stat)
> xyplot(relmse~T|lambda, groups=stat, data=dat,
>        panel = panel.superpose,
>        key=simpleKey(statselect, lines=T))
> 

Add lty="l". And remove the panel=panel.superpose, it's the default when groups
are given.

Dieter



More information about the R-help mailing list