Re: [R] What determines the order of rows in a lattice barchart?

2006-10-28 Thread Deepayan Sarkar
On 10/28/06, Geoff Russell <[EMAIL PROTECTED]> wrote: > Hi, > > What determines the order of the rows in a barchart? That's not a well defined question, as barchart is generic, and methods are free to choose their own order (and much more). See below for an answer for the formula method, which is

[R] What determines the order of rows in a lattice barchart?

2006-10-28 Thread Geoff Russell
Hi, What determines the order of the rows in a barchart? Cheers, Geoff. Here is my code, and the data follows. If I have z in alpha order, the barchart is in some order I can't determine. I originally tried rownames(twater)~twater$Cat, but the chart wasn't in rownames(twater) order either. libr