RRF (version 1.9.1)

grow: Add trees to an ensemble

Description

Add additional trees to an existing ensemble of trees.

Usage

# S3 method for RRF
grow(x, how.many, ...)

Arguments

x

an object of class RRF, which contains a forest component.

how.many

number of trees to add to the RRF object.

...

currently ignored.

Value

An object of class RRF, containing how.many additional trees.

See Also

combine, RRF

Examples

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

Run the code above in your browser using DataCamp Workspace