Learn R Programming

emil (version 2.1.1)

predict_rpart: Predict using a fitted decision tree

Description

Predict using a fitted decision tree

Usage

predict_rpart(object, x)

Arguments

object
Fitted decision tree.
x
New data whose response is to be predicted.

Value

  • Predictions. The exact form depends on the type of application (classification or regression)