Description Usage Arguments Value Examples
Clean "character"
string of punctuation, commonly occuring English words,
and numeric digits
1 | clean_text(x, d)
|
x |
a |
d |
dictionary of commonly used words in the English language (e.g., |
a vector of "character"
strings that have been striped of punctuation,
commonly occuring English words, and numeric digits
1 2 3 | x <- "Hello, my name is Shan Sabri! less common words are: cells, differentation, reprogramming, 1 42, 101"
clean_text(x, d = data("common_word_dictionary"))
# [1] "shan" "sabri" "cells" "differentation" "reprogramming"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.