word_list
that
allows the user to supply vectors of words to be
capitalized.capitalizer(text, caps.list = NULL, I.list = TRUE,
apostrophe.remove = FALSE)
bag_o_words
or breaker
).TRUE
capitalizes I
words and contractions.TRUE
will try to insert
apostrophe's back into words appropriately.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)
Run the code above in your browser using DataLab