Here's one way - you can reorder the levels of a factor variable by specifying
the levels the way you want them.
> require("lattice")
Loading required package: lattice
> bwplot( conc ~ Type : Treatment, data = CO2 )
> str(CO2$Type)
Factor w/ 2 levels "Quebec","Mississippi": 1 1 1 1 1 1 1 1 1 1
On 2010-07-23 11:36, Deepayan Sarkar wrote:
On Fri, Jul 23, 2010 at 10:02 AM, Eck, Bradley J
wrote:
Dear list:
I'm using bwplot to compare concentrations by location and treatment as in:
# using built in data
bwplot( conc ~ Type : Treatment, data = CO2 )
I would like the order of the plots
On Fri, Jul 23, 2010 at 10:02 AM, Eck, Bradley J
wrote:
> Dear list:
>
> I'm using bwplot to compare concentrations by location and treatment as in:
>
> # using built in data
> bwplot( conc ~ Type : Treatment, data = CO2 )
>
> I would like the order of the plots to be: 3,4,1,2. I can't seem to f
3 matches
Mail list logo