R: Converting all the Letters of Character Variable into...
UorL
R Documentation
Converting all the Letters of Character Variable into Uppercase or Lowercase
Description
UorL was used to convert the letters for a character variable into uppercase or lowercase.
The reason we need to do this is sometimes we may be required to compared the same character variable
from different files or sources for a consistency check.
Usage
UorL(x,charlower=TRUE)
Arguments
x
Specify the character variable whose letters to be changed into uppercase or lowercase.
charlower
Specify whether you want to get the uppercase letters or lowercase letters.
It defaults to change all the letters into lowercase.
Details
UorL is an easy function to convert the letters for a character variable into uppercase or lowercase.