Learn R Programming

SentimentAnalysis (version 1.1-0)

ruleLinearModel: Sentiment based on linear model

Description

Sentiment score as denoted by a linear model.

Usage

ruleLinearModel(dtm, d)

Arguments

dtm
Document-term matrix
d
Dictionary of type SentimentDictionaryWeighted

Value

Continuous sentiment score