s-news
[Top] [All Lists]

Factor order in trellis plots --- summary

To: s-news@lists.biostat.wustl.edu
Subject: Factor order in trellis plots --- summary
From: David Parkhurst <parkhurs@imap.iu.edu>
Date: Wed, 11 Oct 2006 19:01:36 -0400
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
I asked:
I have a trellis plot with two columns (for N,Y in one factor) and five rows (for A,B,C,D,E in the other factor). The rows come out with E on top and A on the bottom. A reviewer of our paper objected to that, and wants us to have A on top, down to E at the bottom.

How can I make that happen?

Thanks to Sundar Dorai-Raj, Brad Biggerstaff, and Bill Dunlap for their replies.

Adding as.table=TRUE to the call worked fine. I suspect that using levels=c("E","D","C","B","A") would have worked too, but I didn't try it.

Thanks again.
Dave

<Prev in Thread] Current Thread [Next in Thread>
  • Factor order in trellis plots --- summary, David Parkhurst <=