[R] Classification trees and written conditions

Paul Smith phhs80 at gmail.com
Thu May 18 17:15:17 CEST 2006


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




More information about the R-help mailing list