This function is utilized to generate a series of sub-plots, where each subplot corresponds to individual terminal nodes within the decision tree structure. Each subplot is composed of a histogram (or a barchart) that displays the distribution for the relevant subgroup and colored horizontal bars that summarize the set of covariate splits.
plot_minmax(My, X, Y, str, color.type, alpha, add.p.axis, add.h.axis,
cond.tree, text.main, text.bar, text.round, text.percentile,
density.line, text.title, text.axis, text.label)
A matrix to define the split points within the decision tree structure
Covariates
Response variable
Structure of pathway from the root node in the decision tree to each terminal node
Color palettes. (rainbow_hcl = 1; heat_hcl = 2; terrain_hcl = 3; sequential_hcl = 4; diverge_hcl = 5)
Transparency of individual horizontal bars. Choose values between 0 to 1.
logical. Add axis for the percentiles (add.p.axis = TRUE), remove axis for the percentiles (add.p.axis = FALSE).
logical. Add axis for the outcome (add.h.axis = TRUE), remove axis for the outcome (add.h.axis = FALSE).
Tree as a party object
Change the size of the main titles
Change the size of the text in the horizontal bar and below the bar plot
Round the threshold displayed on the bar
Change the size of the percentile title
Draw a density line
Change the size of the text in the title
Change the size of the text of axis labels
Change the size of the axis annotation