R/grow.R

Defines functions grow.randomForest grow.default grow

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)
}
karlkumbier/irfRegression documentation built on May 18, 2017, 3:28 p.m.