| cs {sdam} | R Documentation |
Change case in a text
Description
A function to change letters to uppercase and lowercase in a given text.
Usage
cs(xz, level = 1, case = 1, flgdf = FALSE, na.rm = FALSE)
Arguments
xz |
input text |
level |
optional clean level, either |
case |
change case: |
flgdf |
is |
na.rm |
remove entries with NA data? (optional and logical) |
Details
This is a convenient function to change letters to uppercase and lowercase in a text for
argument 'case' in function cln, and it inherits values from this function for 'level',
'flgdf', and 'na.rm'.
Value
Input text with defined case.
Author(s)
Antonio Rivero Ostoic
See Also
Examples
cs("Caesar?*+", level=2, case=3)
[Package sdam version 1.1.4 Index]