Fits a single randomForest
tree.
rftree(X, y, rotate = FALSE, ...)
A data frame or a matrix of predictors.
Numeric vector of response value. For binary outcomes, y
should be mapped to {0, 1}. Note that multiclass outcomes are not supported.
Logical indicating whether or not to randomly rotate the
feature values prior to fitting the tree. Default is FALSE
which
results in a traditional random forest tree.
Optional arguments to be passed on to
randomForest
.