Learn R Programming

SentimentAnalysis (version 1.3-4)

lookupEstimationMethod: Estimation method

Description

Decides upon a estimation method for dictionary generation. Input is a name for the estimation method, output is the corresponding function object.

Usage

lookupEstimationMethod(type)

Value

Function that implements the specific estimation method.

Arguments

type

A string denoting the estimation method. Allowed values are lasso, ridge, enet, lm, glm or spikeslab.