ruleRatio {SentimentAnalysis} | 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