Skip to content
Back to formatted view

Raw Message

Message-ID: <loom.20080307T105522-580@post.gmane.org>
Date: 2008-03-07T10:56:46Z
From: Dieter Menne
Subject: using xyplot with groups and panel.linejoin

<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