[R] Question about base::rank results
robertsonburns at btinternet.com
Mon Apr 27 21:34:05 CEST 2015
There is a blog post on this topic:
On 26/04/2015 09:17, Giorgio Garziano wrote:
> I cannot understand why rank(x) behaves as outlined below.
> Based on the results of first x vector values ranking, which is as expected in my opinion,
> I cannot explain the following results.
>> x <- c(12,34,15,77,78)
>  12 15 34 77 78 (OK)
>> x <- c(12,34,15,77,78,22)
>  12 77 34 78 22 15 (?)
>> x <- c(12,34,77,15,78)
>  12 77 15 34 78 (?)
> Please any feedback ? Thanks.
> Giorgio Garziano
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help