Transcription of Plotting rpart treeswiththe rpart.plot package
{{id}} {{{paragraph}}}
Plottingrparttrees with MilborrowNovember 23, 2018 Contents1 Introduction22 Quick start23 Main arguments24 Printing rules FAQ96 Customizing the node labels137 Examples using the color and palette arguments188 Branch widths279 Trimming a tree with the mouse2810 Usingplotmoin conjunction withprp2911 Compatibility The graph layout algorithm33An Exampletemp < 68ibh >= 3574dpg < 9ibt < 227temp >= 68ibh < 3574dpg >= 9ibt >= 227n=330 100%n=214 65%n=108 33%n=106 32%n=35 11%n=71 22%n=116 35%n=55 17%n=61 18% IntroductionThe functions in package plotrparttrees [6,7]. The next page shows some examples (Fig-ure1).The workhorse function isprp. It automatically scales and adjusts the displayed tree for best fit. It combinesand extends in 2 and 3 of this document (the Quick Start and the Main Arguments) are the most , which prints a tree as a set of rules.
changed with the box.paletteargument. For details see the help page and Section 7.1. Examples: box.palette = "auto" automatically choose a palette (default for rpart.plot, Figure 1) box.palette = 0 uncolored (white) boxes (default for prp) box.palette = "Grays" a range of grays ("Grays"is one of the built in palettes)
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}