Skip to content
Prev 101594 / 398500 Next

Help on Random forest [Broadcast]

Do provide a reproducible example, as the Posting Guide suggests.

Try:

library(randomForest)
example(predict.randomForest)
iris.pred <- predict(iris.rf, iris[ind == 2,], nodes=TRUE)
str(iris.pred)
attr(iris.pred, "nodes")

Andy
 

From: Rupendra