R/grow.R

Defines functions grow grow.default grow.randomForest

Documented in grow grow.default grow.randomForest

grow <- function(x, ...) UseMethod("grow")

grow.default <- function(x, ...)
  stop("grow has not been implemented for this class of object")

grow.randomForest <- function(x, how.many, ...) {
  y <- update(x, ntree=how.many)
  combine(x, y)
}
Jromero1208/PBDRiRF documentation built on May 4, 2019, 10:56 a.m.