Message-ID: <8b356f880903291542x3bba45c3y337dac211d532648@mail.gmail.com>
Date: 2009-03-29T22:42:31Z
From: Stavros Macrakis
Subject: Sorting problem
In-Reply-To: <22772920.post@talk.nabble.com>
On Sun, Mar 29, 2009 at 5:21 PM, Ben Bolker <bolker at ufl.edu> wrote:
> ?Adding
>
> xtfrm.numeric <- function(x) {x}
>
> would seem to add the case that people are looking for -- unless
> there's something special that needs to be handled with NAs ???
Yes, that was what I was suggesting. xtfrm currently converts NaN to
NA, but that does not seem to be necessary for it to meet its
specification of "producing a numeric vector which will sort in the
same order as 'x'", since sort treats NaNs the same as NAs.
-s