[R] R question

From: Bill Vorias <billv_at_loyaltybuilders.com>
Date: Fri, 04 May 2007 12:05:50 -0500

I had a question about Random Forests. I have a text file with 10 dichotomous variables and a bivariate response vector. I read this file into R as a data frame, and then used the command "randomForest(Response ~., dataset, etc.." where "Response" is the column header of the response variable and "dataset" is the name of the data frame. I get an error that says "Response" not found. I was looking at the Iris data example in the R help files, and it seems like this is exactly what they did. Do you have any suggestions? Thanks.

        [[alternative HTML version deleted]]

R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 04 May 2007 - 17:52:57 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 04 May 2007 - 19:31:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.