[R] Sorting problem

Paul JH Drake p.drake at beatson.gla.ac.uk
Fri Dec 24 13:47:32 CET 2004


Hi
Sorry if my post wasn't clear.

R version: 2.0.0
OS: SuSE 9.1
Pentium IV laptop

I have been creating boxplots as follows:
boxplot(gene~Group) [additional options left out for simplicity]

and the problem was that the boxplots were plotted in alphabetical
order, rather than the order in which I wanted them to be plotted.

Thanks for your suggestions - now that I know a little more about
factors, I have been able to arrange the order of the levels of the
factor "Group" and all is well!

Thanks for your patience and help

Paul




More information about the R-help mailing list