Plot Feature Coefficients from a glmnet Model
Source:R/FeatureImportanceCoef.R
FeatureImportanceCoef.Rd
Visualizes feature coefficients from a penalized regression model fitted by glmnet
.
Positive and negative coefficients are color-coded for better interpretation.
Arguments
- model
A fitted
glmnet
model object that includes componentsmodel
andlambda
, such as from the output ofBuildPhenoModelAutoAlpha()
orcv.glmnet()
.