Dear useRs, I am using the function tune.rpart() implemented in the e1071 package under R 2.7.1 on Windows XP.
Sometimes, i.e., for some datasets, I get the following error: > tune.rpart(dataset, data = dataset, cp = c(.005,.01,.02)) > Error in table(pred, true.y) : all arguments must have the same length I am not able to understand the reason of it! Thanks in advance for any help! Regards, claudio [[alternative HTML version deleted]] ______________________________________________ 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.