View source: R/modelEstimation.R
enetEstimation | R Documentation |
Function estimates coefficients based on elastic net regularization.
enetEstimation(
x,
response,
control = list(alpha = 0.5, 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 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.