0

I am implementing a decision tree but when building the graph with rpart.plot it gets huge, making it impossible to see. Is there a way to subdivide when generating the plot;

rpart.plot (tree, type = 3, fallen = T,leaf.round = 1, extra = 100,
            branch = .1, box.palette = "RdBu")
M--
  • 20,766
  • 7
  • 52
  • 87
Wanderson
  • 11
  • 1
  • Welcome to SO. We need to see a reproducible example. Read here: https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example to know how you can make one and get your answer. – M-- Jul 10 '19 at 03:15
  • If you read here: https://cran.r-project.org/web/packages/rpart.plot/rpart.plot.pdf there are some arguments for trimming and clipping in `rpart.plot` but I suspect that's not what you want. – M-- Jul 10 '19 at 03:20

0 Answers0