Hi there, I am just wondering if there is any function that could match the vectors irrespective of the upper and lower case alphabets. Ramya -- View this message in context: http://www.nabble.com/Function-for-case-insensitive-match-tp19672969p19672969.html Sent from the R help mailing list archive at Nabble.com.
on 09/25/2008 11:11 AM Rajasekaramya wrote:> Hi there, > > I am just wondering if there is any function that could match the vectors > irrespective of the upper and lower case alphabets. > > RamyaSee the 'ignore.case' argument in ?grep HTH, Marc Schwartz
On Thu, 25 Sep 2008, Rajasekaramya wrote:> I am just wondering if there is any function that could match the vectors > irrespective of the upper and lower case alphabets.Use toupper() before matching -thomas Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle