Re: [R] boxplot ranked x labels

2010-10-18 Thread Phil Spector
Sibylle - Since you didn't give a reproducible example, I'll try to make one that will illustrate what you need to know to answer your question. Suppose we have a variable with levels "four","five", and "six". ff = factor(rep(c('four','five','six'),c(5,7,2))) Since the table() function w

[R] boxplot ranked x labels

2010-10-18 Thread Sibylle Stöckli
Dear R users, x-values (EI) = Adw, EG1, LA1, Ad1, LA2, LA3...(14 levels, insect stages) y-valus = antpop within the boxplot function x-values are ordered alphabetically Idea: x-values ranked by list order (insect stage: Egg stage 1 is followed by Larvae 1 and not by Egg stage 2 as it would