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