[R] locating boxplot in bwplot (lattice)
bbolker at gmail.com
Fri Feb 22 23:29:55 CET 2013
Elaine Kuo <elaine.kuo.tw <at> gmail.com> writes:
> I am using lattice bwplot to draw migration distance of three groups of
> The boxplots from the left to right is displayed
> in alphabetic order of the boxplot names, as the default setting.
> However, I would like the boxplots from the left to right to be displayed
> according to the migration distance from the short values to the long ones.
> In the data below, from the left to the right should be Gruiformes,
> Falconiiformes, and Charadriiformes.
> Please kindly advise how to modify the code below.
Define the order of the levels of your factor
accordingly. Take a look at
(broken URL to meet gmane line length limits)
More information about the R-help