From b.rowlingson at lancaster.ac.uk  Wed Dec  7 11:17:24 2011
From: b.rowlingson at lancaster.ac.uk (Barry Rowlingson)
Date: Wed, 7 Dec 2011 10:17:24 +0000
Subject: [Rd] bug in rank(), order(), is.unsorted() on character vector
In-Reply-To: <4EDF34D8.40001@fhcrc.org>
References: <4EDF34D8.40001@fhcrc.org>
Message-ID: <CANVKczMHZLgGz=UHVVr1EYp_F1WG0JiRORBgTEyj5xv5s4bUKg@mail.gmail.com>

2011/12/7 Herv? Pag?s <hpages at fhcrc.org>:
> rank(xa)

See help(Comparison), specifically:

"Beware of making _any_ assumptions about the
     collation order" followed by "Collation of
     non-letters (spaces, punctuation signs, hyphens, fractions and so
     on) is even more problematic."

Barry



[Rd] bug in rank(), order(), is.unsorted() on character vector
Barry Rowlingson