RPMM (version 1.20)

plotImage.glcTree: Plot a Gaussian RPMM Tree Profile

Description

Plots profiles of terminal nodes in color.

Usage

plotImage.glcTree(env, start = "r", method = "weight", palette = colorRampPalette(c("yellow", "black", "blue"), space = "Lab")(128), divcol = "red", xorder = NULL, dimensions = NULL, labelType = "LR", muColorEps = 1e-08)

Arguments

env
RPMM object to print.
start
Node to plot (usually root)
method
Method to determine width of columns that represent classes: “weight” (subject weight in class) or dQuotebinary (depth in tree).
palette
Color palette to use for image plot.
divcol
Divider color
xorder
Order of variables. Can be useful for constant ordering across multiple plots.
dimensions
Subset of dimensions of source data to show. Defaults to all. Useful to show a subset of dimensions.
labelType
Label name type: “LR” or “01”.
muColorEps
Small value to stabilize color generation.

Value

Returns a vector of indices similar to the order function, representing the orrdering of items used in the plot. This is useful for replicating the order in another plot, or for axis labeling.

Details

See glcTree for example.