R/metapredict_predict.R
makeCoefDt.Rd
Make a sorted data.table
of the non-zero coefficients of a logistic or
multinomial glmnet
model.
makeCoefDt(fitResult, lambda, decreasing = TRUE, classLevels = NA)
fitResult |
|
---|---|
lambda | value of lambda for which to obtain coefficients. |
decreasing | logical passed to |
classLevels | order of columns in resulting |
A data.table
.