getConds: getConds

Description Usage Arguments Details Value Examples

View source: R/rfinference.R

Description

give the partition statements for each leaf; a wrapper using cond_root and other functions included for backward compatibility

Usage

1
getConds(tree)

Arguments

tree

a single tree object obtained from using "randomForest" and "getTree"

Details

using this function recursively, we can find the family ancestry.

Value

a statement defining the leaf (associated with "id"), by collecting the entire "ancestry"

Examples

1
# getConds(tree)

ydhwang/rfinference documentation built on May 2, 2020, 4:48 p.m.