[R] matching-case sensitivity
Thomas Lumley
tlumley at u.washington.edu
Tue Aug 26 22:27:48 CEST 2003
On Tue, 26 Aug 2003, Jablonsky, Nikita wrote:
> Hi All,
>
> I am trying to match two character arrays (email lists) using either
> pmatch(), match() or charmatch() functions. However the function is
> "missing" some matches due to differences in the cases of some letters
> between the two arrays. Is there any way to disable case sensitivity or is
> there an entirely better way to match two character arrays that have
> identical entries but written in different case?
>
You could use tolower() or toupper() to remove case differences.
-thomas
More information about the R-help
mailing list