View source: R/mod_penalized_l_r_utils.R
rlr_prediction | R Documentation |
generates the prediction of the penalized regression model.
rlr_prediction(model, test.data, variable.pred, log.lambda = NULL)
model |
a penalized regression model(cv.glmnet). |
test.data |
dataframe. |
variable.pred |
the name of the variable to be predicted. |
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.