Download Plotting rpart trees with prp

Transcript
The character size will be adjusted automatically unless cex is explicitly set. Use tweak to adjust the
automatically calculated size, often something like tweak=0.8 or tweak=1.2.
It helps to remember that the display has four constituents: the node labels, the split labels, the branch lines,
and the optional node numbers. Each of these constituents has a complete set of col etc. arguments. Thus
we have, for example, col (the color of the node label text), split.col (the split text), branch.col (the
branch lines), and nn.col (the optional node numbers).
Standard graphics parameters such as col can be passed in as ... arguments. So where the help page refers
to the col argument, what is meant is the col argument passed in as a ... argument, and if it is not passed
in, the value of par("col"). Such parameters typically affect only the node labels, not the split labels or
other constituents of the display.
2.1
Citing the package
If you use this package in a published document, please do the right thing and cite it [4]:
Stephen Milborrow. rpart.plot: Plot rpart Models. An Enhanced Version of plot.rpart., 2011. R Package.
@Manual{rpart.plotpackage,
author = {Stephen Milborrow},
title = {{rpart.plot: Plot rpart Models. An Enhanced Version of plot.rpart}},
year = {2011},
note = {R package},
url = {http://CRAN.R-project.org/package=rpart.plot }
}
5