Description Usage Arguments Value
Computes elastic net estimate of coefficients. Assumes columns of X
are standardized.
1 | elnet_coord(y, X, alpha, lambda)
|
y |
Dependent variable. |
X |
Design matrix |
alpha, lambda |
Parameters in objective. |
Vector of length p=ncol(X)
containing elastic net estimates for the coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.