View source: R/proportional_hazards_data.R
Not to be used directly by users
1 | glmnet_fit_wrapper(x, y, alpha = 1, lambda = NULL, ...)
|
x |
input matrix, of dimension nobs x nvars; each row is an observation
vector. Can be in sparse matrix format (inherit from class
|
y |
response variable. Quantitative for |
alpha |
The elasticnet mixing parameter, with 0≤α≤ 1. The penalty is defined as (1-α)/2||β||_2^2+α||β||_1.
|
lambda |
A user supplied |
... |
additional parameters passed to glmnet::glmnet. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.