coef.nestcv.glmnet | R Documentation |
Extracts coefficients from the final fit of a "nestcv.glmnet"
object.
## S3 method for class 'nestcv.glmnet'
coef(object, s = object$final_param["lambda"], ...)
object |
Object of class |
s |
Value of penalty parameter lambda. Default is the mean of lambda values selected across each outer fold. |
... |
Other arguments passed to |
Vector or list of coefficients ordered with the intercept first, followed by highest absolute value to lowest.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.