Plot a Beta RPMM Tree Profile

Description

Plots profiles of terminal nodes in color.

Usage

1
2
3
4
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”.

Details

See blcTree for example.

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.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.