Hi Jessy,

?sort
?rank

will be a good starting point.

HTH,
Jorge.-


On Wed, Jun 20, 2012 at 6:24 PM, Jessy <jmahac...@gmail.com> wrote:

> Hello,
>
>
> May someone help me with how in R I can rank a vector from highest to
> lowest. i.e  rank 1 (smallest rank) is given to the highest value instead
> of the usual way that it get's the highest rank.
>
> Regards,
> Jessy
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to