Description Usage Arguments Value Examples
Quickly exclude words from a word list
1 |
word.list |
A list of words/terms to exclude from. |
... |
A vector (character/numeric) if element(s)
to be excluded from the |
Returns a vector with the excluded terms removed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | exclude(1:10, 3, 4)
exclude(1:10, 3:4)
Top25Words
exclude(Top25Words, qcv(the, of, and))
exclude(Top25Words, "the", "of", "an")
#Using with term.match and termco
terms <- term.match(DATA$state, qcv(th), FALSE)
exclude(terms, "truth")
#all together
termco(DATA$state, DATA$person, exclude(term.match(DATA$state, qcv(th),
FALSE), "truth"))
MTCH.LST <- exclude(term.match(DATA$state, qcv(th, i)), qcv(truth, stinks))
termco(DATA$state, DATA$person, MTCH.LST)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.