I have to draw arrows with branches between two nodes in a decision tree
prp(ntree, type=4, extra=105, branch=0.8,
box.col="grey", tweak=1.2,
round=2, leaf.round =2, branch.lty=8, split.fun = split.fun,
faclen = 0, clip.facs = TRUE,
facsep = " or ", gap=0, space = 0,
arrows(x0, y0, x1, y1))
I want a graph like this one:
How to call arrows function in rpart.plot?