spikeslabEstimation {SentimentAnalysis} | R Documentation |
Spike-and-slab estimation
Description
Function estimates coefficients based on spike-and-slab regression.
Usage
spikeslabEstimation(
x,
response,
control = list(n.iter1 = 500, n.iter2 = 500),
...
)
Arguments
x |
An object of type |
response |
Response variable including the given gold standard. |
control |
(optional) A list of parameters defining the LASSO model. Default is |
... |
Additional parameters passed to function for |
Value
Result is a list with coefficients, coefficient names and the model intercept.
[Package SentimentAnalysis version 1.3-5 Index]