drawTreeNodes {rattle} | R Documentation |
Draw the nodes of a decision tree
drawTreeNodes(tree, cex = par("cex"), pch = par("pch"), size = 4 * cex, col = NULL, nodeinfo = FALSE, units = "", cases = "obs", digits = getOption("digits"), decimals = 2, print.levels = TRUE, new = TRUE)
tree |
an rpart decision tree. |
cex |
. |
pch |
. |
size |
. |
col |
. |
nodeinfo |
. |
units |
. |
cases |
. |
digits |
. |
decimals |
the number of decimal digits to include in numeric split nodes. |
print.levels |
. |
new |
. |
A variation of draw.tree from the maptree package.
Package home page: http://rattle.togaware.com
## this is usually used in the context of the plotRisk function ## Not run: drawTreeNodes(ds.rp)