I am trying to visualize decision tree in R. The graph is not very readable. I want to know how can I fix this.
My code is prp(ntree, extra=105, branch=1,digits=2, varlen=6,
clip.facs=T, trace =2, round=2.5, leaf.round=2, prefix="n=",xsep= "",
split.family="serif", split.lty=7, branch.lty=1,
branch.type= 0, branch.fill= "black", split.adj=0.6)
Using the above code, I get a graph but I need ideas to make it look good.
I need a graph like the one given below. How do I achieve it?