Order boxplot stats following a given ordering.
Order boxplot stats following a given ordering.
orderBoxplot(stats, idx)
stats |
List with information produced by a box-and-whisker plot. |
idx |
Order of group levels. |
The ordered stats.
Jacolien van Rij
Other Utility functions:
findAbsMin(),
find_n_neighbors(),
firstLetterCap(),
getArrowPos(),
getDec(),
getRange(),
getRatioCoords(),
get_palette(),
group_sort(),
inch2coords(),
isColor(),
list2str(),
move_n_point(),
se(),
sortGroups()
head(ToothGrowth) # sort on basis of mean length: bp <- boxplot(len ~ dose:supp, data = ToothGrowth, plot=FALSE) idx <- sortGroups(len ~ dose:supp, data = ToothGrowth) bp2 <- orderBoxplot(bp, idx) # compare: bp$names bp2$names
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.