View source: R/mod_variables.R
model_variables.glmnet | R Documentation |
Returns the variables' names of non zero betas of an EN fitted model
## S3 method for class 'glmnet' model_variables(model, lambda = NULL)
lambda |
A numeric corresponding to the desired regularization index |
mod_en |
A fitted EN model |
A character vector of selected variables' names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.