powered by
Capitalize the first letter of a word. Primarily for internal use in text processing of knitr output. Not usually referenced by the user.
knitr
xU(x)
The character string (word) for which to capitalize the first letter.
Input is a single word. Output is the word with its first letter capitalized.
# NOT RUN { xU("the") # }
Run the code above in your browser using DataLab