Here is the complete dataset:
Outlook Temp Humidity Windy Class Sunny 2 2 Yes Play Sunny 2 1 Yes Don't Play Sunny 3 1 No Don't Play Sunny 2 1 No Don't Play Sunny 1 2 No Play Overcast 2 1 Yes Play Overcast 3 1 No Play Overcast 1 2 Yes Play Overcast 3 2 No Play Rain 2 1 Yes Don't Play Rain 1 2 Yes Don't Play Rain 2 1 No Play Rain 1 1 No Play Rain 1 1 No Play And manually I was indeed able to generate a decision tree out of it. I also used couple of other tools to generate a valid decision tree out of it. But I am unable to generate through R. "Or now Im pretty sure of it as when I took your dataset and used the magic way of ctrl-c ctrl-v to make some more observations I get a decision tree." - Pardon me, but, I couldn't decipher what you were trying to tell through this line. Could you elaborate on this? -- View this message in context: http://r.789695.n4.nabble.com/Rpart-query-tp2991198p2991483.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.