combine

0th

Percentile

Combine Ensembles of Trees

Combine two more more ensembles of trees into one.

Keywords
regression, classif
Usage
combine(...)
Arguments
...
two or more objects of class randomForest, to be combined into one.
Value

An object of class randomForest.

Note

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.

See Also

randomForest, grow

Aliases
  • combine
Examples
library(randomForest) data(iris) rf1 <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE) rf2 <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE) rf3 <- randomForest(Species ~ ., iris, ntree=50, norm.votes=FALSE) rf.all <- combine(rf1, rf2, rf3) print(rf.all)
Documentation reproduced from package randomForest, version 4.6-12, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.