How to extract tree structure from ctree function? | Open Awesome