View source: R/dplot3_addtree.R
dplot3_addtree | R Documentation |
Plot AddTree trees trained with s_AddTree using data.tree::plot.Node
dplot3_addtree(
addtree,
col.positive = "#F48024DD",
col.negative = "#18A3ACDD",
node.col = "#666666",
node.shape = "none",
node.labels = TRUE,
node.labels.pct.pos = NULL,
pos.name = NULL,
edge.col = "#999999",
layout = "dot",
rankdir = "TB",
splines = "polyline",
fontname = "helvetica",
bg.color = "#ffffff",
overlap = "false",
prune = NULL,
prune.empty.leaves = TRUE,
remove.bad.parents = FALSE
)
addtree |
Additive Tree object created by s_AddTree |
col.positive |
Color for outcome positive. |
col.negative |
Color for negative outcome. |
node.col |
Color for non-terminal leaves. |
node.shape |
Character: Node shape, passed to |
node.labels |
Logical: If |
node.labels.pct.pos |
Logical: If |
pos.name |
Character: Name for "positive" outcome. |
edge.col |
Color for edges. |
layout |
Character: Passed to |
rankdir |
Character: Passed to |
splines |
Character: Passed to |
fontname |
Character: Passed to |
bg.color |
Background color. |
overlap |
Character: Passed to |
prune |
Logical: If |
prune.empty.leaves |
Logical: If |
remove.bad.parents |
Logical: If TRUE, remove nodes with no siblings but children and give their children to their parent. |
Edge info and styles have been removed because of problems with DiagrammeR
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.