> The error rates I get is 0.57 which is very large > I was wondering if I'm doing something wrong.
It is quite possible, if your groups are overlapping or not separated by a linear boundary. Given that you have only two varaibles, have you plotted them? Hadley ______________________________________________ R-help@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.