treeFrameToList | R Documentation |
treeFrameToList
Converts a tree
into a format usable in
a sankeytree.treeFrameToList
Converts a tree
into a format usable in
a sankeytree.
treeFrameToList(
frame,
xlevels,
model,
assigned,
labels,
max.tooltip.length = 150,
numeric.distribution = TRUE,
custom.color = "default",
num.color.div = 101,
const.bin.size = TRUE
)
frame |
The tree frame. |
xlevels |
Levels of depedent variables that are factors. |
model |
Data used by the model. |
assigned |
The nodes that the cases have been assigned. |
labels |
A vector of variable labels, named by the variable names. |
max.tooltip.length |
The maximum length of the tooltip (determines the scale of the tree). |
numeric.distribution |
Outputs additional diagnostics in the tooltip. |
custom.color |
Determines the colors of tree branches; if |
num.color.div |
positive integer in the range [2,inf]. Controls the color resolution of the tree. A higher value gives a smoother color transition. |
const.bin.size |
logical; if |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.