grow | R Documentation |
Add additional trees to an existing ensemble of trees.
## S3 method for class 'randomForest'
grow(x, how.many, ...)
x |
an object of class |
how.many |
number of trees to add to the |
... |
currently ignored. |
An object of class randomForest
, containing how.many
additional trees.
The confusion
, err.rate
, mse
and rsq
components (as well as the corresponding components in the test
compnent, if exist) of the combined object will be NULL
.
Andy Liaw andy_liaw@merck.com
combine
, randomForest
data(iris)
iris.rf <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE)
iris.rf <- grow(iris.rf, 50)
print(iris.rf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.