Data Science Desktop Survival Guide
by Graham Williams |
|||||
Fancy Rpart Plot |
fancyRpartPlot(model)
The rattle package provides a fancy plot based on the functionality provided by rpart.plot and using colours from RColorBrewer, tuned for use in rattle: rattle::fancyRpartPlot(). The same options can be passed directly to rpart.plot::prp() to achieve the same plot and colours, and Stephen Milborrow demonstrates this mapping in his guide at http://www.milbo.org/doc/prp.pdf, page 11. In the following pages we demonstrate some of the alternative options provided by rpart.plot::prp().
|