predict_model.easy_glmnet: Predict values for a penalized regression model.
Description
This function wraps the procedure for predicting values from
a glmnet model and makes it accessible
to the easyml core framework.
Usage
# S3 method for easy_glmnet
predict_model(object, newx = NULL)
Arguments
object
A list of class easy_glmnet.
newx
A data.frame, the new data to use for predictions.
Value
A vector, the predicted values using the new data.