[R] Sorting problem

2004-12-24 Thread Paul JH Drake
Hi I'm using R 2.0 in SuSE 9.2. When I plot data as a boxplot, the boxes appear on the plot in alphabetical order (of group) rather than the order in which they appear in the data. So far, the only thing I can do to fix this is to prefix the group labels with a,b,c...etc to trick R into plotting

RE: [R] Sorting problem

2004-12-24 Thread Gabor Grothendieck
From: Paul JH Drake [EMAIL PROTECTED] When I plot data as a boxplot, the boxes appear on the plot in alphabetical order (of group) rather than the order in which they appear in the data. So far, the only thing I can do to fix this is to prefix the group labels with a,b,c...etc to trick R

Re: [R] Sorting problem

2004-12-24 Thread Prof Brian Ripley
On Fri, 24 Dec 2004, Paul JH Drake wrote: I'm using R 2.0 in SuSE 9.2. There is no such version, BTW: please see the posting guide for hints on supplying the sort of information we need (and an example would have helped a lot here). When I plot data as a boxplot, the boxes appear on the plot in

RE: [R] Sorting problem

2004-12-24 Thread Ted Harding
On 24-Dec-04 Gabor Grothendieck wrote: From: Paul JH Drake [EMAIL PROTECTED] When I plot data as a boxplot, the boxes appear on the plot in alphabetical order (of group) rather than the order in which they appear in the data. So far, the only thing I can do to fix this is to prefix the

RE: [R] Sorting problem

2004-12-24 Thread Prof Brian Ripley
On Fri, 24 Dec 2004 [EMAIL PROTECTED] wrote: On 24-Dec-04 Gabor Grothendieck wrote: From: Paul JH Drake [EMAIL PROTECTED] When I plot data as a boxplot, the boxes appear on the plot in alphabetical order (of group) rather than the order in which they appear in the data. So far, the only thing I

RE: [R] Sorting problem

2004-12-24 Thread Gabor Grothendieck
From: [EMAIL PROTECTED] On 24-Dec-04 Gabor Grothendieck wrote: From: Paul JH Drake [EMAIL PROTECTED] When I plot data as a boxplot, the boxes appear on the plot in alphabetical order (of group) rather than the order in which they appear in the data. So far, the only thing I

Re: [R] Sorting problem

2004-12-24 Thread Paul JH Drake
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

Re: [R] searching Jonathan Baron's R Site - revised function

2004-12-24 Thread Jonathan Baron
Documentation coming soon. -- # Written by Andy Liaw and modified by Jonathan Baron 12/24/2004. RSiteSearch - function(string, restrict=c(Rhelp02a,Rhelp01,functions,docs), format=normal, sortby=score, matchesPerPage=20) { string -

Re: [R] how to ignore t.test error message

2004-12-24 Thread Uwe Ligges
burak kutlu wrote: Hello, I was wondering if there is a way to ignore the error message you get when some of the data means you compare are constant in some lines of your data frame. What does the error message say exactly? Do you have an example? Even with the degenerated case t.test(c(0, 0),

RE: [R] Sorting problem

2004-12-24 Thread Gabor Grothendieck
page took 6.48 seconds • home | my page | my email . email Mail Addresses Calendar Notepad [EMAIL PROTECTED] sign out Hide Folders Check Messages Compose Message POP Accounts | Mail Preferences | Help Folders Inbox Drafts Sent Trash

RE: [R] Sorting problem

2004-12-24 Thread Gabor Grothendieck
[sorry. I had some email problems on my last one. here it is again.] From: Gabor Grothendieck [EMAIL PROTECTED] From: [EMAIL PROTECTED] On 24-Dec-04 Gabor Grothendieck wrote: From: Paul JH Drake [EMAIL PROTECTED] When I plot data as a boxplot, the boxes appear on the

RE: [R] Sorting problem

2004-12-24 Thread Gabor Grothendieck
From: Gabor Grothendieck [EMAIL PROTECTED] [sorry. I had some email problems on my last one. here it is again.] From: Gabor Grothendieck [EMAIL PROTECTED] From: [EMAIL PROTECTED] On 24-Dec-04 Gabor Grothendieck wrote: From: Paul JH Drake [EMAIL PROTECTED]

RE: [R] Sorting problem

2004-12-24 Thread Ted Harding
On 24-Dec-04 Gabor Grothendieck wrote: From: Gabor Grothendieck [EMAIL PROTECTED] From: [EMAIL PROTECTED] On 24-Dec-04 Gabor Grothendieck wrote: Actually they are shown in order of the levels of the factor. e.g. to show them in reverse order: attach(InsectSprays)