Description Usage Arguments Value Examples
bag.o.words
- Reduces a text column to a bag of
words.
breaker
- Reduces a text column to a bag of words
and qdap recognized end marks.
word.split
- Reduces a text column to a list of
vectors of bag of words and qdap recognized end marks
(i.e. ".", "!", "?", "*", "-"
).
1 2 3 4 5 | bag.o.words(text.var, apostrophe.remove = FALSE, ...)
breaker(text.var)
word.split(text.var)
|
text.var |
The text variable. |
apostrophe.remove |
logical. If TRUE removes apostrophe's from the output. |
... |
further arguments passed to strip function. |
Returns a vector of striped words.
breaker
- returns a vector of striped words and
qdap recognized endmarks (i.e. ".", "!", "?", "*",
"-"
).
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.