powered by
Create a decision tree
dtree(yl, opt = "max", base = character(0))
A yaml string or a list (e.g., from yaml::yaml.load_file())
Find the maximum ("max") or minimum ("min") value for each decision node
List of variable definitions from a base tree used when calling a sub-tree
A list with the initial tree and the calculated tree
See https://radiant-rstats.github.io/docs/model/dtree.html for an example in Radiant
summary.dtree to summarize results
summary.dtree
plot.dtree to plot results
plot.dtree
sensitivity.dtree to plot results
sensitivity.dtree
# NOT RUN { yaml::as.yaml(movie_contract) %>% cat() dtree(movie_contract, opt = "max") %>% summary(output = TRUE) # }
Run the code above in your browser using DataLab