Re: [R] Surprising randomForest Results

2008-10-01 Thread Rodney Barnett
:[EMAIL PROTECTED] On Behalf Of Rodney Barnett Sent: Wednesday, October 01, 2008 10:01 AM To: r-help@r-project.org Subject: [R] Surprising randomForest Results Is it expected that predict.randomForest() produces the response vector when given the same data frame as provided to randomForest()? See

[R] Surprising randomForest Results

2008-10-01 Thread Rodney Barnett
Is it expected that predict.randomForest() produces the response vector when given the same data frame as provided to randomForest()? See below. Thanks. Rodney > rf <- randomForest (Species ~ ., iris) > pc <- predict (rf, iris) > confusion (pc, iris$Species) true object setosa