View source: R/mod_penalized_l_r_utils.R
coef_lambda | R Documentation |
get penalized regression coefficients.
coef_lambda(data, variable.pred, model, log.lambda = NULL)
data |
dataframe |
variable.pred |
the name of the variable to be predicted. |
model |
a penalized regression model(cv.glmnet). |
log.lambda |
numerical. Logarithm of lambda in case you don't want to use the optimal lambda. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.