Description Usage Arguments Value
View source: R/frequency_threshold.R
A function to frequency threshold a vector of strings.
1 | frequency_threshold(word_vector, threshold = 1)
|
word_vector |
A character vector of words we wish to frequency threshold. |
threshold |
An integer > 0 indicating the number of times a word must appear more than to be included in the vector we return. Defaults to threshold = 1, meaning all words that appear 1 or less times in the vector we pass in will be removed. |
A word vector with all words appearing 'threshold' or less times removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.