[R] I don't understand the 'order' function

Patrick Burns pburns at pburns.seanet.com
Wed Apr 17 10:41:15 CEST 2013


There is a blog post about this:

http://www.portfolioprobe.com/2012/07/26/r-inferno-ism-order-is-not-rank/

And proof that it is possible to confuse them
even when you know the difference.

Pat

On 16/04/2013 19:10, Julio Sergio wrote:
> Julio Sergio <juliosergio <at> gmail.com> writes:
>
>>
>> I thought I've understood the 'order' function, using simple examples like:
>
> Thanks to you all!... As Sarah said, what was damaged was my understanding (
> ;-) )... and as Duncan said, I was confusing 'order' with 'rank',
> thanks! Now I understand the 'order' function.
>
>    -Sergio
>
> ______________________________________________
> R-help at 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.
>

-- 
Patrick Burns
pburns at pburns.seanet.com
twitter: @burnsstat @portfolioprobe
http://www.portfolioprobe.com/blog
http://www.burns-stat.com
(home of:
  'Impatient R'
  'The R Inferno'
  'Tao Te Programming')



More information about the R-help mailing list