title: ctree() - How to get the list of splitting conditions for each terminal node?
body: <p>I have an output from <code>ctree()</code> (<code>party</code> package) that looks like the following. How do I get the list of splitting conditions for each terminal node, like like <code>sns &lt;= 0, dta &lt;= 1; sns &lt;= 0, dta &gt; 1</code> and so on?</p>
  
  <pre><code>1) sns &lt;= 0; criterion = 1, statistic = 14655.021
    2) dta &lt;= 1; criterion = 1, statistic = 3286.389
     3)*  weights = 153682 
    2) dta &gt; 1
     4)*  weights = 289415 
  1) sns &gt; 0
    5) dta &lt;= 2; criterion = 1, statistic = 1882.439
     6)*  weights = 245457 
    5) dta &gt; 2
     7) dta &lt;= 6; criterion = 1, statistic = 1170.813
       8)*  weights = 328582 
     7) dta &gt; 6
  </code></pre>
  
  <p>Thanks</p>