plot.dtree {radiant.model} | R Documentation |
Plot method for the dtree function
Description
Plot method for the dtree function
Usage
## S3 method for class 'dtree'
plot(
x,
symbol = "$",
dec = 2,
final = FALSE,
orient = "LR",
width = "900px",
...
)
Arguments
x |
Return value from |
symbol |
Monetary symbol to use ($ is the default) |
dec |
Decimal places to round results to |
final |
If TRUE plot the decision tree solution, else the initial decision tree |
orient |
Plot orientation: LR for vertical and TD for horizontal |
width |
Plot width in pixels (default is "900px") |
... |
further arguments passed to or from other methods |
Details
See https://radiant-rstats.github.io/docs/model/dtree.html for an example in Radiant
See Also
dtree
to generate the result
summary.dtree
to summarize results
sensitivity.dtree
to plot results
Examples
dtree(movie_contract, opt = "max") %>% plot()
dtree(movie_contract, opt = "max") %>% plot(final = TRUE, orient = "TD")
[Package radiant.model version 1.6.6 Index]