dtree: Create a decision tree

Description Usage Arguments Details Value See Also

View source: R/dtree.R

Description

Create a decision tree

Usage

1
dtree(yl, opt = "max", base = character(0))

Arguments

yl

A yaml string or a list (e.g., from yaml::yaml.load_file())

opt

Find the maximum ("max") or minimum ("min") value for each decision node

base

List of variable definitions from a base tree used when calling a sub-tree

Details

See https://radiant-rstats.github.io/docs/model/dtree.html for an example in Radiant

Value

A list with the initial tree and the calculated tree

See Also

summary.dtree to summarize results

plot.dtree to plot results

sensitivity.dtree to plot results


radiant.model documentation built on May 29, 2017, 11:17 p.m.