Learn R Programming

easyml (version 0.1.0)

predict_model.easy_random_forest: Predict values for a random forest regression model.

Description

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

Usage

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

Arguments

object

A list of class easy_random_forest.

newx

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

Value

A vector, the predicted values using the new data.