subjectivity: Calculate Polarity from Matrix

Description Usage Arguments Author(s)

View source: R/score.R

Description

Calculate Polarity from Matrix

Usage

1
2
3
4
5
6
7
8
subjectivity(x, positive, negative)

## S3 method for class 'TermDocumentMatrix'
subjectivity(x, positive = posterms_GI(),
  negative = negterms_GI())

## S3 method for class 'DocumentTermMatrix'
subjectivity(x, ...)

Arguments

x

TermDocumentMatrix

positive

character vector specifying positive terms to be used, defaults to posterms_GI

negative

character vector specifying negative terms to be used, defaults tonegterms_GI

Author(s)

Mario Annau


mannau/tm.plugin.sentiment documentation built on May 21, 2019, 11:24 a.m.