predict.spotTreeModel: Prediction method for rpart tree models

View source: R/buildTree.R

predict.spotTreeModelR Documentation

Prediction method for rpart tree models

Description

Wrapper for predict.rpart.

Usage

## S3 method for class 'spotTreeModel'
predict(object, newdata, ...)

Arguments

object

fit of the model, an object of class "spotTreeModel", produced by buildTreeModel.

newdata

matrix of new data.

...

not used


SPOT documentation built on June 26, 2022, 1:06 a.m.