Learn R Programming

RRF (version 1.9.4)

combine: Combine Ensembles of Trees

Description

Combine two more more ensembles of trees into one.

Usage

combine(...)

Arguments

...

two or more objects of class RRF, to be combined into one.

Value

An object of class RRF.

See Also

RRF, grow

Examples

Run this code
# NOT RUN {
data(iris)
rf1 <- RRF(Species ~ ., iris, ntree=50, norm.votes=FALSE)
rf2 <- RRF(Species ~ ., iris, ntree=50, norm.votes=FALSE)
rf3 <- RRF(Species ~ ., iris, ntree=50, norm.votes=FALSE)
rf.all <- combine(rf1, rf2, rf3)
print(rf.all)
# }

Run the code above in your browser using DataLab