Create a data frame of elastic net coefficents
1 | sm_tidy_glmnet(X, y, item_name = "var", binomial = FALSE)
|
X |
the data matrix, possibly sparse |
y |
the response vector |
item_name |
name to give to the set of rows; defaults to "var" |
binomial |
logical; is this a binomial regression? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.