Re: [R] How to sort TWO columns ?

2004-07-21 Thread Uwe Ligges
e: [R] How to sort TWO columns ? Jacques VESLOT wrote: Dear ALL, I fear my question has already been answered many times before, but I haven't fund that in archives... I am working on spatial datasets and, in most arrays I'm handling, there are two columns dedicated to (x,y)-coords. F

RE: [R] How to sort TWO columns ?

2004-07-21 Thread Jacques VESLOT
- De : Uwe Ligges [mailto:[EMAIL PROTECTED] Envoyé : mercredi 21 juillet 2004 10:48 À : [EMAIL PROTECTED] Cc : [EMAIL PROTECTED] Objet : Re: [R] How to sort TWO columns ? Jacques VESLOT wrote: > Dear ALL, > > I fear my question has already been answered many times before, but I >

Re: [R] How to sort TWO columns ?

2004-07-21 Thread TEMPL Matthias
Hi, It would be discussed yesterday. See e.g. in Google for ("sorting a data frame" R) http://www.r-project.org/nocvs/mail/r-help/2002/0088.html Or one entry yesterday: Best, Matthias >Hi >Lets assign your data frame to the variable yourdf >then: >yourdf[ , order( yourdf$year ) ] >should so

Re: [R] How to sort TWO columns ?

2004-07-21 Thread Paul Lemmens
Hoi Jacques, --On woensdag 21 juli 2004 10:35 +0400 Jacques VESLOT <[EMAIL PROTECTED]> wrote: Could somedy please let me know how to sort two columns of a dataframe, with priority to one of them, just like in access ? Would this help? kind regards,

Re: [R] How to sort TWO columns ?

2004-07-20 Thread Uwe Ligges
Jacques VESLOT wrote: Dear ALL, I fear my question has already been answered many times before, but I haven't fund that in archives... I am working on spatial datasets and, in most arrays I'm handling, there are two columns dedicated to (x,y)-coords. For different reasons - notably to draw image()