Learn R Programming

RPMM (version 1.20)

plotImage.blcTree: Plot a Beta RPMM Tree Profile

Description

Plots profiles of terminal nodes in color.

Usage

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

Arguments

env
RPMM object to plot.
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”.

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 blcTree for example.