[R] what missed ----- CART

2008-02-24 Thread o ha wang
Hi all, Can anyone who is familar with CART tell me what I missed in my tree code? library (MASS) myfit - tree (y ~ x1 + x2 + x3 + x4 ) # tree.screens () # useless plot(myfit); text (myfit, all= TRUE, cex=0.5, pretty=0) # tile.tree (myfit, fgl$type) # useless #

Re: [R] what missed ----- CART

2008-02-24 Thread Uwe Ligges
o ha wang wrote: Hi all, Can anyone who is familar with CART tell me what I missed in my tree code? library (MASS) myfit - tree (y ~ x1 + x2 + x3 + x4 ) There is not function tree() in MASS. I guess you have loaded package tree? Note that the author and maintainer of