Something like:
library(Hmisc)
xYplot( y ~ x|A*B,
groups = C,
abline=list(a=0, b=1, lty=2))
-----Original Message-----
From: s-news-owner@lists.biostat.wustl.edu
[mailto:s-news-owner@lists.biostat.wustl.edu] On Behalf Of David Parkhurst
Sent: Wednesday, July 19, 2006 11:00 AM
To: s-news@wubios.wustl.edu
Subject: [S] Help request for trellis panel function
I have a data frame with five columns, x, y, A, B, and C. x and y are
continuous numeric variables, and the others are factors.
A has 5 levels, B has 2, and C has 6. I'd like to produce a 5X2 trellis of
xyplots, using different symbols for the different values of factor C. In
addition, I'd like each of the ten panels to include a 1:1 line.
I know this would require a special panel function, but I don't know what it
should look like. I would much appreciate help in creating it.
Thank you.
David Parkhurst
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu. To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with the
BODY of the message: unsubscribe s-news
|