Say I use the rpart function in R which fits a classification tree to a dataset. How do I then use this tree to classify a new object?
Asked
Active
Viewed 151 times
1 Answers
1
?predict.rpart # ................
Probably (only a guess in the absence of an R object.)
predict(rtree, type = "class")

IRTFM
- 258,963
- 21
- 364
- 487