From jon.armond at gmail.com  Thu Aug 24 08:10:08 2017
From: jon.armond at gmail.com (Jonathan Armond)
Date: Thu, 24 Aug 2017 07:10:08 +0100
Subject: [Rd] [patch] Fix typo in 'rank' documentation
Message-ID: <CAOyQ9sberX+Hm7W=E9F4Z51n1hA6WE-vCDj3HMoEgHGc3QVsaw@mail.gmail.com>

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
-------------- next part --------------
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


[Rd] [patch] Fix typo in 'rank' documentation
Jonathan Armond