I noticed a typo in the documentation for the 'rank' function. Specifically, it describes ties.method="first" and contrasts with... ties.method="first", when it should be ties.method="last".
Thanks, Jon
Index: src/library/base/man/rank.Rd =================================================================== --- src/library/base/man/rank.Rd (revision 73116) +++ src/library/base/man/rank.Rd (working copy) @@ -34,7 +34,7 @@ (called \sQuote{ties}), the argument \code{ties.method} determines the result at the corresponding indices. The \code{"first"} method results in a permutation with increasing values at each index set of ties, and - analogously \code{"first"} with decreasing values. The + analogously \code{"last"} with decreasing values. The \code{"random"} method puts these in random order whereas the default, \code{"average"}, replaces them by their mean, and \code{"max"} and \code{"min"} replaces them by their maximum and
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel