[R] using xyplot with groups and panel.linejoin

From: <k.m.csillery_at_sms.ed.ac.uk>
Date: Fri, 07 Mar 2008 09:26:38 +0000 (UTC)

Dear All,

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))

However, I want lines not scatterplots and if I set panel.groups=panel.linejoin that connects the lines according to the relmse and not according the consecutive values of T. Is there a short solution to this very simple problem, which doesn't require custom made panel function?

Thanks in advance,

Kati



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 07 Mar 2008 - 09:45:03 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 07 Mar 2008 - 11:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive