Dear All When drawing a classification tree with plot(mytree) text(mytree) the conditions are written just before the nodes branch. My question is: can one be certain that those conditions refer to the left-side branches? (The R documentation surprisingly lacks the information that I am asking for.) Thanks in advance, Paul
On 5/18/06, Carlos Ortega <coforfe at gmail.com> wrote:> Are you referring to ?: > - library(tree) > - library(rpart) > > On 5/18/06, Paul Smith <phhs80 at gmail.com> wrote: > > > Dear All > > When drawing a classification tree with > > plot(mytree) > text(mytree) > > the conditions are written just before the nodes branch. My question > is: can one be certain that those conditions refer to the left-side > branches? (The R documentation surprisingly lacks the information that > I am asking for.)Thanks, Carlos. I am referring to ibrary(rpart) Paul
On 5/18/06, Carlos Ortega <coforfe at gmail.com> wrote:> Yes, that is right. > The conditions on top of the branches refer to the left-hand side.Thanks, Carlos. Then, it should be explicitly said in ? text.rpart. Paul