Re: [R] Order sapply

2012-04-09 Thread MSousa
Good Afternoon, I get it, my question was really how the data were organized, I thought I was doing something wrong. Thanks -- View this message in context: http://r.789695.n4.nabble.com/Order-sapply-tp4537496p4542518.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Order sapply

2012-04-07 Thread Rui Barradas
Hello, I have the following code, but it seems that something must be doing wrong, because it is giving the results I want. The idea is to create segments while the value of Commutation is less than 1000. for example, from the small set of data below I believe that code was mine,

[R] Order sapply

2012-04-06 Thread MSousa
Good Afternoon, I have the following code, but it seems that something must be doing wrong, because it is giving the results I want. The idea is to create segments while the value of Commutation is less than 1000. for example, from the small set of data below text= val_user posv

Re: [R] Order sapply

2012-04-06 Thread R. Michael Weylandt
On Fri, Apr 6, 2012 at 10:27 AM, MSousa ricardosousa2...@clix.pt wrote: Good Afternoon,   I have the following code, but it seems that something must be doing wrong, because it is giving the results I want. Didn't someone else have that problem just a few weeks ago? :-P Michael The idea is

Re: [R] Order sapply

2012-04-06 Thread Sarah Goslee
On Fri, Apr 6, 2012 at 10:27 AM, MSousa ricardosousa2...@clix.pt wrote: Good Afternoon,   I have the following code, but it seems that something must be doing wrong, because it is giving the results I want. Assuming you don't really mean that, you can use order() and/or sort() to put it back