View source: R/sentimentRules.R
ruleRatio | R Documentation |
Ratio of words in that dictionary compared to the total number of words in the document
ruleRatio(dtm, d)
dtm |
Document-term matrix |
d |
Dictionary of type |
Ratio of dictionary words compared to all
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.