[R] Ordering box plots

Stuart Luppescu
2011-01-24T15:40:33Z

On Sun, 2011-01-23 at 17:37 -0600, Stuart Luppescu wrote:
[snip] Thanks to Ben and Dennis for their help, but right after I sent
the original message, I figured out how to solve my problem. I noticed
that boxplot() contains the at= argument. To get the box locations, I
used a line like this:

box.locs <- order(order(aggregate(meas.tab[,meas.name],
by=list(meas.tab$unit), mean, na.rm=T)$x))

--
Stuart Luppescu -=- slu .at. ccsr.uchicago.edu
University of Chicago -=- CCSR
???????? -=-    Kernel 2.6.36-gentoo-r5
If you give people a linear model function you give
 them something dangerous.    -- John Fox
 useR! 2004, Vienna (May 2004)