[R] bwplot in ascending order

Doran, Harold HDoran at air.org
Sun May 1 22:52:40 CEST 2011


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.

Thanks 
Harold

http://r.789695.n4.nabble.com/bwplot-reorder-factor-on-y-axis-td790903.html


More information about the R-help mailing list