rftree: Random forest tree

View source: R/rforest.R

rftreeR Documentation

Random forest tree

Description

Fits a single randomForest tree.

Usage

rftree(X, y, rotate = FALSE, ...)

Arguments

X

A data frame or a matrix of predictors.

y

Numeric vector of response value. For binary outcomes, y should be mapped to {0, 1}. Note that multiclass outcomes are not supported.

rotate

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.


bgreenwell/treemisc documentation built on Oct. 26, 2022, 12:56 a.m.