powered by
# S3 method for rotationForest predict(object, newdata, all = FALSE, ...)
rotationForest
data(iris) y <- as.factor(ifelse(iris$Species[1:100]=="setosa",0,1)) x <- iris[1:100,-5] rF <- rotationForest(x,y) predict(object=rF,newdata=x)
Run the code above in your browser using DataLab