tidy._elnet | R Documentation |
tidy()
methods for the various glmnet
models that return the coefficients
for the specific penalty value used by the parsnip
model fit.
## S3 method for class ''_elnet''
tidy(x, penalty = NULL, ...)
## S3 method for class ''_lognet''
tidy(x, penalty = NULL, ...)
## S3 method for class ''_multnet''
tidy(x, penalty = NULL, ...)
## S3 method for class ''_fishnet''
tidy(x, penalty = NULL, ...)
## S3 method for class ''_coxnet''
tidy(x, penalty = NULL, ...)
x |
A fitted |
penalty |
A single numeric value. If none is given, the value specified in the model specification is used. |
... |
Not used |
A tibble with columns term
, estimate
, and penalty
. When a
multinomial mode is used, an additional class
column is included.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.