[R] Controlling Order of Panels in Lattice Trellis Plots

Bert Gunter gunter.berton at gene.com
Fri Feb 22 22:08:49 CET 2013


Manually change the ordering of the levels in the factor to that which
you want (see ?factor if necessary) and replot.

-- Bert

On Fri, Feb 22, 2013 at 11:17 AM, David Winsemius
<dwinsemius at comcast.net> wrote:
>
> On Feb 22, 2013, at 11:02 AM, Rich Shepard wrote:
>
>>  With multiple panels in a lattice trellis plot the sequence is, for
>> example, 1, 10, 11, 12, 2, 3, 4. I want the sequence to be 1, 2, 3, 4, 10,
>> 11, 12.
>>
>
> It appears these may be factors. No much in the way of code can be offered since you have provided none of hte requested details.
>
>
>>  Reading ?strip.default and the appropriate section in the Lattice book I'm
>> not seeing how to specify the 'human' numeric order rather than the computer
>> numeric order.
>>
>>  A pointer will be appreciated.
>>
>
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>
> Many pointers have been offered, but you have refused to heed them.
>
>> and provide commented, minimal, self-contained, reproducible code.
>
> --
>
> David Winsemius
> Alameda, CA, USA
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list