plot.dtree: Plot method for the dtree function

Description Usage Arguments Details See Also Examples

View source: R/dtree.R

Description

Plot method for the dtree function

Usage

1
2
3
## S3 method for class 'dtree'
plot(x, symbol = "$", dec = 2, final = FALSE,
  orient = "LR", width = "900px", ...)

Arguments

x

Return value from dtree

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

1
2
dtree(movie_contract, opt = "max") %>% plot()
dtree(movie_contract, opt = "max") %>% plot(final = TRUE, orient = "TD")

radiant-rstats/radiant.model documentation built on Nov. 13, 2018, 7 a.m.