[R] bwplot in ascending order

From: Doran, Harold <HDoran_at_air.org>
Date: Sun, 01 May 2011 16:52:40 -0400

Can anyone point me to examples with R code where bwplot in lattice is used to order the boxes in ascending order? I have found the following discussion and it partly works. But, I have a conditioning variable, so my example is more like

bwplot(var1 ~ var2|condition, dat)

Th example in the discussion below works only when there is not a conditioning variable as far as I can tell. I can tweak the example below to work, but then I get some ugly labels in the lattice plot. It seems index.cond is supposed to help me solve this, but I cannot find good examples showing its use.



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. Received on Thu 05 May 2011 - 06:25:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 07:00:06 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive