Function estimates coefficients based on spike-and-slab regression.
spikeslabEstimation(
x,
response,
control = list(n.iter1 = 500, n.iter2 = 500),
...
)
Result is a list with coefficients, coefficient names and the model intercept.
An object of type DocumentTermMatrix
.
Response variable including the given gold standard.
(optional) A list of parameters defining the LASSO model. Default isn.iter1=500
and n.iter2=500
.
See spikeslab
for details.
Additional parameters passed to function for spikeslab
.