Convert a a SplitNode from the party package to a data.tree structure.
SplitNode
data.tree
Useful links