Description Usage Arguments Author(s)
Calculate Polarity from Matrix
1 2 3 4 5 6 7 8 | polarity(x, positive, negative)
## S3 method for class 'TermDocumentMatrix'
polarity(x, positive = posterms_GI(),
negative = negterms_GI())
## S3 method for class 'DocumentTermMatrix'
polarity(x, ...)
|
x |
TermDocumentMatrix |
positive |
character vector specifying positive terms to be used, defaults to |
negative |
character vector specifying negative terms to be used, defaults to |
Mario Annau
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.