View source: R/modelEstimation.R
spikeslabEstimation | R Documentation |
Function estimates coefficients based on spike-and-slab regression.
spikeslabEstimation(
x,
response,
control = list(n.iter1 = 500, n.iter2 = 500),
...
)
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 |
Result is a list with coefficients, coefficient names and the model intercept.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.