Learn R Programming

easyml (version 0.1.0)

predict_model.easy_glinternet: Predict values for a penalized regression model with interactions.

Description

This function wraps the procedure for predicting values from a glinternet model and makes it accessible to the easyml core framework.

Usage

# S3 method for easy_glinternet
predict_model(object, newx = NULL)

Arguments

object

A list of class easy_glinternet.

newx

A data.frame, the new data to use for predictions.

Value

A vector, the predicted values using the new data.