Learn R Programming

SentimentAnalysis (version 1.3-5)

ruleLinearModel: Sentiment based on linear model

Description

Sentiment score as denoted by a linear model.

Usage

ruleLinearModel(dtm, d)

Value

Continuous sentiment score

Arguments

dtm

Document-term matrix

d

Dictionary of type SentimentDictionaryWeighted