View source: R/word_frequency.R
word_frequency | R Documentation |
word_frequency
counts the frequency of words in a set of strings.
Also does minimal cleaning (removes punctuation and extra spaces). Useful for
determining what words are common and may need to be replaced or removed with
clean_strings
.
word_frequency(string)
string |
character vector |
data.table with word frequency
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.