powered by
Add additional trees to an existing ensemble of trees.
# S3 method for randomForest grow(x, how.many, ...)
An object of class randomForest, containing how.many
randomForest
how.many
additional trees.
an object of class randomForest, which contains a forest component.
forest
number of trees to add to the randomForest object.
currently ignored.
Andy Liaw andy_liaw@merck.com
combine, randomForest
combine
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