Learn R Programming

radiant.model (version 0.8.0)

dtree: Create a decision tree

Description

Create a decision tree

Usage

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

Value

A list with the initial tree and the calculated tree

Details

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

See Also

summary.dtree to summarize results

plot.dtree to plot results

sensitivity.dtree to plot results