s-news
[Top] [All Lists]

Trellis xyplot with error bars in both directions (and then some)

To: s-news@wubios.wustl.edu
Subject: Trellis xyplot with error bars in both directions (and then some)
From: David Parkhurst <parkhurs@imap.iu.edu>
Date: Tue, 17 Oct 2006 20:16:56 -0400
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
I'm using s-plus Enterprise Developer Version 7.0.6  for Microsoft Windows :
2005.

I have a data frame of the form:

fac1 fac2 x1mean x1SE y1mean y1SE x2mean x2SE y2mean y2SE
A    N
A    Y
B    N
B    Y
C    N                  numerical values
C    Y
D    N
D    Y
E    N
E    Y

I'd like to create a trellis plot, with five rows (fac1) by two columns
(fac2). In each panel of the trellis, I want a point at x1mean, y1mean (with a circle, say), and a point at x2mean,y2mean (with a square). The hard part, for me, is that I'd also like to put +- standard error bars for both variables (horizontal ones for the x's, vertical ones for the y's).

Can all this be done with standard splus (or R) trellis commands?

Thanks for any help.

David Parkhurst


<Prev in Thread] Current Thread [Next in Thread>
  • Trellis xyplot with error bars in both directions (and then some), David Parkhurst <=