powered by
Add additional trees to an existing ensemble of trees.
# S3 method for randomForest grow(x, how.many, ...)
an object of class randomForest, which contains a forest component.
randomForest
forest
number of trees to add to the randomForest object.
currently ignored.
An object of class randomForest, containing how.many additional trees.
how.many
combine, randomForest
combine
# NOT RUN { data(iris) iris.rf <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE) iris.rf <- grow(iris.rf, 50) print(iris.rf) # }
Run the code above in your browser using DataLab