View source: R/modelEstimation.R
lassoEstimation | R Documentation |
Function estimates coefficients based on LASSO regularization.
lassoEstimation(
x,
response,
control = list(alpha = 1, s = "lambda.min", family = "gaussian", grouped = FALSE),
...
)
x |
An object of type |
response |
Response variable including the given gold standard. |
control |
(optional) A list of parameters defining the LASSO model as follows:
|
... |
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.