Dear R-developers,
I just realized that rank() behaves inconsistent if combining one of na.last in
{TRUE|FALSE} with a ties.method in {average|random|max|min}.
The documentation suggests that e.g. with na.last=TRUE NAs are treated like the
last (=highest) value, which obviously is not the case:
On Fri, Oct 27, 2006 at 11:14:25AM +0200, Jens Oehlschl?gel wrote:
rather, but in fact NAs seem to be always treated ties.method =
first. I have no idea in which situation one could desire
e.g. ties.method = average except for NAs!?
Interesting. I was aware of the S-Plus vs. R difference,