[R] question regarding to The tree Package for R

Huayin Wang wang at rjka.com
Thu Feb 21 20:19:09 CET 2002


I have a problem with running the tree package (dec.8, 2001) for R.  The
problem is,
it will only give me 5/6 terminal node and then stop, while using Splus's
tree on the
same data with the same specification give me hundreds of nodes.

Here's a little more background info:

    R-1.4.1
    Solaris 5.7
    rpart  (most recent version)
    tree   (..)

    Splus 6.0
    Solaris 5.7
    tree

    dataset:
        100,000 records
        about 3 variables
        regression tree

    data read in from flat file,
    summary() on R and Splus showed identical distributions

    tree were run with all the deault setting (no mincut, minsize set etc)

    with added options: minsize=2, mindev=-1,  get the same small tree.

Did I miss anything?

thanks

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list