Hi all; Happy new year. I have got the following error
rror in if (nrow(object$splits) > 0) { : argument is of length zero when I am running the following codes. train <- c(sample(1:27,18), sample(28:54, 18), sample(55:81, 8)) a2011.adaboost <- boosting(median_kod ~ ., data = b[train, ], boos=TRUE, mfinal = 10, control = rpart.control(minsplit = 0)) Regards, Greg [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.