prevCond: finding the previous conditions in the tree

Description Usage Arguments Value Examples

View source: R/rfinference.R

Description

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

Usage

1
prevCond(tree, i)

Arguments

tree

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

i

index of the tree

Value

a list containing "cond" and "id")

Examples

1
# prevCond(tree, i)

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