Learn R Programming

SentimentAnalysis (version 1.3-4)

lmEstimation: Ordinary least squares estimation

Description

Function estimates coefficients based on ordinary least squares.

Usage

lmEstimation(x, response, control = list(), ...)

Value

Result is a list with coefficients, coefficient names and the model intercept.

Arguments

x

An object of type DocumentTermMatrix.

response

Response variable including the given gold standard.

control

(optional) A list of parameters (not used).

...

Additional parameters (not used).