Hi, I created an rpart object using 10-fold cross validation while creating the tree. What i wish i could do now is to compare estimated cross-validation error rates between different selection rules, for an approximately equal random division of the data into a training and test set. I eventually found the function "compareTreecalcs", within the package DAAG. However, apparently this function does not work... either i get some unexpected problems with the length of the data (nonetheless, the same formual DOES work with rpart) or an invalid prediction error. Any suggestions? i would appreciate it if you could give me some hints. Thanks in advance for the answer and the precious time you might waste... Giorgio Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com [[alternative HTML version deleted]]