... sorry, should be simply ?reorder -- Bert
Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." H. Gilbert Welch On Sun, May 11, 2014 at 8:04 AM, Bert Gunter <bgun...@gene.com> wrote: > .... see also ?reorder.factor > > -- Bert > > Bert Gunter > Genentech Nonclinical Biostatistics > (650) 467-7374 > > "Data is not information. Information is not knowledge. And knowledge > is certainly not wisdom." > H. Gilbert Welch > > > > > On Sun, May 11, 2014 at 6:42 AM, Uwe Ligges > <lig...@statistik.tu-dortmund.de> wrote: >> >> >> On 11.05.2014 10:37, meng wrote: >>> >>> boxplot(count ~ spray, data = InsectSprays) >>> >>> >>> The order of the plot is: A,B,C,D,E,F. >>> If I want the order of the plot is: F,B,E,A,D,C, how to do then? >> >> >> >> For example, you can change the order of the levels, so that you get a more >> natural ordering for your task. >> >> See ?factor >> >> Best, >> Uwe Ligges >> >> >>> >>> Many thanks! >>> >>> >>> My best >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> -- >>> QQ: 1733768559 >>> >>> >>> [[alternative HTML version deleted]] >>> >>> ______________________________________________ >>> R-help@r-project.org mailing list >>> https://stat.ethz.ch/mailman/listinfo/r-help >>> PLEASE do read the posting guide >>> http://www.R-project.org/posting-guide.html >>> and provide commented, minimal, self-contained, reproducible code. >>> >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.