powered by
Remove words from a vector of words found in another vector of words.
str_rm_words(x, y = stopwords)
A vector of words.
A vector of words to delete from x, defaults to English stop words.
x, with the words found in y removed.
# NOT RUN { str_rm_words( x = c("a", "dog", "went", "to", "the", "store"), y = stopwords ) str_rm_words( x = c("a", "dog", "went", "to", "the", "store"), y = c("dog", "store") ) # }
Run the code above in your browser using DataLab