model_variables.glmnet: Returns the variables' names of non zero betas of an EN...

View source: R/mod_variables.R

model_variables.glmnetR Documentation

Returns the variables' names of non zero betas of an EN fitted model

Description

Returns the variables' names of non zero betas of an EN fitted model

Usage

## S3 method for class 'glmnet'
model_variables(model, lambda = NULL)

Arguments

lambda

A numeric corresponding to the desired regularization index

mod_en

A fitted EN model

Value

A character vector of selected variables' names


cottinlola/modeleVariablesAP documentation built on April 30, 2022, 7:42 a.m.