[R] bwplot in ascending order

Doran, Harold
Sun, 01 May 2011 20:52:40 -0000

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