I have generated a simple decision with rpart and displayed it with rpart.plot like the following.
Is it possible to edit the look of the tree so it's "mirrored" like the following:
(e-100%)
____(yes)___|___(no)____
| |
| (e-53%)
(p-47%) __|__
| |
(p-1%) (e-52%)
Adding the parameter xflip=TRUE to rpart.plot function flips the tree horizontally like intended