treeDetective: Tree-Detective

View source: R/functions.R

treeDetectiveR Documentation

Tree-Detective

Description

Yes-No questions guide the user through a classification or regression tree.

Usage

treeDetective(mod, data, rowname = "1")

Arguments

mod

A tree model constructed by the tree package.

data

Data frame used to construct the model.

rowname

Character indicating the initial row name in mod$frame. Set to "1" by default.

Value

Side-effects to console.

Note

For more details on use, consult http://statistics.rainandrhino.org/tigerTree/treeDetective.html

Examples

## Not run: 
tr.mod <- tree(Species ~ ., data = iris)
treeDetective(tr.mod, iris)

## End(Not run)

homerhanumat/tigerTree documentation built on Dec. 6, 2024, 3:44 p.m.