Description Usage Arguments Value Note Examples
A helper function for word_list
that allows the user to
supply vectors of words to be capitalized.
1 | capitalizer(text, caps.list = NULL, I.list = TRUE, apostrophe.remove = FALSE)
|
text |
A vector of words (generally from |
caps.list |
A list of words to capitalize. |
I.list |
logical. If |
apostrophe.remove |
logical, asking if apostrophes have been removed.
If |
Returns a vector of capitalized words based on supplied capitalization arguments.
Not intended for general use. Acts as a helper function to several qdap functions.
1 2 3 4 5 | ## Not run:
capitalizer(bag_o_words("i like it but i'm not certain"), "like")
capitalizer(bag_o_words("i like it but i'm not certain"), "like", FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.