Re: [R] How to re-order panels and y-axis values in trellis display using lattice

2009-07-08 Thread Deepayan Sarkar
On Tue, Jul 7, 2009 at 3:03 PM, wrote: > Hi, > > I have been trying to re-order several items in a trellised barchart > display in lattice, but can't seem to figure it out. > > ###sample code, Stage and Colony have 2 and 3 levels respectively. > > barchart(Activity ~ Percent | Stage + Colony, data

[R] How to re-order panels and y-axis values in trellis display using lattice

2009-07-07 Thread Peter_Kappes
Hi, I have been trying to re-order several items in a trellised barchart display in lattice, but can't seem to figure it out. ###sample code, Stage and Colony have 2 and 3 levels respectively. barchart(Activity ~ Percent | Stage + Colony, data = Percent.df, horizontal = TRUE, layout = c(2,3),