William Dunlap <wdunlap <at> tibco.com> writes:

> 
> I think Duncan said that order and rank were inverses (if there are no 
ties).  order() has
> period 2 so order(order(x)) is also rank(x) if there are no ties.  E.g.,
> 

Thanks William! This is very interesting. So, applying order two times I can 
have a rank index for each element.

Thanks,
  -Sergio.

______________________________________________
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