[R] plotcp() in rpart()

Yuelin Li liy12 at mskcc.org
Fri May 30 21:18:25 CEST 2008


   What happens if plotcp() shows an V-shape profile?  
   It seems that the predictors (I have a few) do not help the splits.  
   Would it be reasonable to prune it at size 6?  
   Or perhaps rpart() is not suitable for this analysis?  

What I meant on the last sentence was perhaps I made a poor choice of the predictors to enter into rpart.  They do not seem to be associated with the classes. 

Yuelin.
   

 
     =====================================================================
     
     Please note that this e-mail and any files transmitted with it may be 
     privileged, confidential, and protected from disclosure under 
     applicable law. If the reader of this message is not the intended 
     recipient, or an employee or agent responsible for delivering this 
     message to the intended recipient, you are hereby notified that any 
     reading, dissemination, distribution, copying, or other use of this 
     communication or any of its attachments is strictly prohibited.  If 
     you have received this communication in error, please notify the 
     sender immediately by replying to this message and deleting this 
     message, any attachments, and all copies and backups from your 
     computer.



More information about the R-help mailing list