r-help-boun...@r-project.org] On Behalf Of J
Robertson-Burns
Sent: Monday, April 27, 2015 2:34 PM
To: Giorgio Garziano; r-help@r-project.org
Subject: Re: [R] Question about base::rank results
There is a blog post on this topic:
http://www.portfolioprobe.com/2012/07/26/r-inferno-ism-order-is-not-rank/
Pat
There is a blog post on this topic:
http://www.portfolioprobe.com/2012/07/26/r-inferno-ism-order-is-not-rank/
Pat
On 26/04/2015 09:17, Giorgio Garziano wrote:
Hi,
I cannot understand why rank(x) behaves as outlined below.
Based on the results of first x vector values ranking, which is as expe
Ok. Thanks for your explanation.
Cheers,
Giorgio Garziano
-Original Message-
From: Rolf Turner [mailto:r.tur...@auckland.ac.nz]
Sent: lunedì 27 aprile 2015 09:24
To: Giorgio Garziano; r-help@r-project.org
Subject: Re: [R] Question about base::rank results
On 26/04/15 20:17, Giorgio
Ah, thanks. That makes sense.
John Kane
Kingston ON Canada
> -Original Message-
> From: petr.pi...@precheza.cz
> Sent: Mon, 27 Apr 2015 08:29:36 +
> To: giorgio.garzi...@ericsson.com, r-help@r-project.org
> Subject: Re: [R] Question about base::rank results
>
>
l 26, 2015 10:18 AM
> To: r-help@r-project.org
> Subject: [R] Question about base::rank results
>
> Hi,
>
> 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
On 26/04/15 20:17, Giorgio Garziano wrote:
Hi,
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)
x[rank(x)]
[1] 12 15 34 77 78
Hi,
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)
> x[rank(x)]
[1] 12 15 34 77 78 (OK)
> x <- c(12,34,15,77,78,22)
> x[ra
7 matches
Mail list logo