cv_coef | R Documentation |
Extracts coefficients from outer CV glmnet models from a nestcv.glmnet
fitted object.
cv_coef(x, level = 1)
x |
a |
level |
For multinomial models only, either an integer specifying which level of outcome is being examined, or the level can be specified as a character value |
matrix of coefficients from outer CV glmnet models plus the final glmnet model. Coefficients for variables which are not present in a particular outer CV fold model are set to 0.
cv_varImp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.