plot.dtree | R Documentation |
Plot method for the dtree function
## S3 method for class 'dtree'
plot(
x,
symbol = "$",
dec = 2,
final = FALSE,
orient = "LR",
width = "900px",
...
)
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 |
See https://radiant-rstats.github.io/docs/model/dtree.html for an example in Radiant
dtree
to generate the result
summary.dtree
to summarize results
sensitivity.dtree
to plot results
dtree(movie_contract, opt = "max") %>% plot()
dtree(movie_contract, opt = "max") %>% plot(final = TRUE, orient = "TD")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.