Hi!

On 08/24/2011 07:46 PM, David Winsemius wrote:
I was looking for an elegant solution ;) In the real case I have double
values and this would be quite inefficient then.

Still no r-code:

Then what about rank(order(...) , further-ties.method-argument) ?

I think that, as order() always gives a different value for each element, rank(order()) would return the same result as order() alone.

Bye,
Sebastian

______________________________________________
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