lmEstimation: Ordinary least squares estimation

View source: R/modelEstimation.R

lmEstimationR Documentation

Ordinary least squares estimation

Description

Function estimates coefficients based on ordinary least squares.

Usage

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

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).

Value

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


SentimentAnalysis documentation built on Aug. 24, 2023, 1:07 a.m.