Learn R Programming

rerf (version 2.0.4)

RunOOB: Predict class labels on out-of-bag observations using a single tree.

Description

This is the base function called by OOBPredict.

Usage

RunOOB(X, tree)

Arguments

X

an n sample by d feature matrix (preferable) or data frame which was used to train the provided forest.

tree

a tree from a forest returned by RerF.

Value

out prediction matrix used by OOBPredict