Description Usage Arguments Value Author(s) See Also
View source: R/eval_dictionaries.R
Count the occurrences of words associated with a dictionary.
1 | eval_dictionaries(bow, dictionary, score = "total")
|
bow |
Tibble. Bag of words for one document with at least two variables: "term" and "count". |
dictionary |
Tibble. Categorizations of words with at least three variables: "term", "category", and "value". |
score |
Character string. Whether the function should return a "total" or a "percentage". |
A tibble with documents as rows, categories as variables, ad the required summary in cells
Nicolas Mangin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.