Description Usage Arguments Details Value
Plots profiles of terminal nodes in color.
1 2 3 4 | 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)
|
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. |
See glcTree
for example.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.