[Rd] documentation for rank() (PR#7298)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Oct 21 01:44:55 CEST 2004


dgrove at fhcrc.org writes:

> I just found that rank() has a 'decreasing' argument that is not documented in
> its
> help page.  I checked my version of 2.0.0 (original release hence unpatched)
> and
> it is not documented there.  For curiousity I also went back to version 1.8.1
> and
> checked the function (not the documentation)and at that point rank() had not
> yet
> acquired the 'decreasing' argument.
> 
> It's ironic as I was wishing that rank() had a decreasing option like
> sort does, and then I found that it already does.

Eh????

I have

> rank
function (x, na.last = TRUE, ties.method = c("average", "first",
    "random", "max", "min"))
{....

And we do have QC tools that work very hard to ensure that all
arguments are documented!

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-devel mailing list