plot_minmax: Generate individual subplots within the graphical...

Description Usage Arguments

Description

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.

Usage

1
2
3
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)

Arguments

My

A matrix to define the split points within the decision tree structure

X

Covariates

Y

Response variable

str

Structure of pathway from the root node in the decision tree to each terminal node

color.type

Color palettes. (rainbow_hcl = 1; heat_hcl = 2; terrain_hcl = 3; sequential_hcl = 4; diverge_hcl = 5)

alpha

Transparency of individual horizontal bars. Choose values between 0 to 1.

add.p.axis

logical. Add axis for the percentiles (add.p.axis = TRUE), remove axis for the percentiles (add.p.axis = FALSE).

add.h.axis

logical. Add axis for the outcome (add.h.axis = TRUE), remove axis for the outcome (add.h.axis = FALSE).

cond.tree

Tree as a party object

text.main

Change the size of the main titles

text.bar

Change the size of the text in the horizontal bar and below the bar plot

text.round

Round the threshold displayed on the bar

text.percentile

Change the size of the percentile title

density.line

Draw a density line

text.title

Change the size of the text in the title

text.axis

Change the size of the text of axis labels

text.label

Change the size of the axis annotation


AshwiniKV/visTree documentation built on May 7, 2019, 1:22 p.m.