predict_model.easy_glmnet: Predict values for a penalized regression model.

Description Usage Arguments Value

View source: R/glmnet.R

Description

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

Usage

1
2
## S3 method for class '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.


easyml documentation built on June 26, 2017, 9:02 a.m.