powered by
TC - Capitalize titles according to traditional capitalization rules.
TC
L - All lower case.
L
U - All upper case.
U
TC(text.var, lower = NULL, ...)L(text.var, ...)U(text.var, ...)
L(text.var, ...)
U(text.var, ...)
The text variable.
A vector of words to retain lower case for (unless first or last word).
Other arguments passed to: stri_trans_tolower, stri_trans_toupper, and stri_trans_totitle.
stri_trans_tolower
stri_trans_toupper
stri_trans_totitle
Returns a character vector with new case (lower, upper, or title).
Case wrapper functions for stringi's stri_trans_tolower, stri_trans_toupper, and stri_trans_totitle. Functions are useful within magrittr style chaining.
stri_trans_tolower, stri_trans_toupper, stri_trans_totitle
# NOT RUN { y <- c( "I'm liking it but not too much.", "How much are you into it?", "I'd say it's yet awesome yet." ) L(y) U(y) TC(y) # }
Run the code above in your browser using DataLab