Re: [R] Calculating Rsquared values in rpart

2007-12-13 Thread Ravi Varadhan
ealth/People/Faculty/Varadhan.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dylan Beaudette Sent: Thursday, December 13, 2007 5:51 PM To: r-help@r-project.org Cc: Andrew Park Subject: Re:

Re: [R] Calculating Rsquared values in rpart

2007-12-13 Thread Dylan Beaudette
On Thursday 13 December 2007, Frank E Harrell Jr wrote: > Andrew Park wrote: > > Hi there > > > > In rpart, one can get a graph of R-squared (using rsq.rpart (fit)), in > > which the x axis is the number of splits, and which contains two lines - > > an "apparent" R squared and an Rsquared based on

Re: [R] Calculating Rsquared values in rpart

2007-12-13 Thread Frank E Harrell Jr
Andrew Park wrote: > Hi there > > In rpart, one can get a graph of R-squared (using rsq.rpart (fit)), in which > the x axis is the number of splits, and which contains two lines - an > "apparent" R squared and an Rsquared based on the x error. > > I would like to caclulate these R-squared value