Re: [R] rpart.object help

2010-12-14 Thread Terry Therneau
> On Sun, 12 Dec 2010, jagdeesh_mn wrote: > >> Hi, >> >> Suppose i have generated an object using the following : >> fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis) >> >> And when i print fit, i get the following : >> >> n= 81 >> >> node), split, n, loss, yval, (yprob) >> * denot

Re: [R] rpart.object help

2010-12-14 Thread Gavin Simpson
On Mon, 2010-12-13 at 01:55 -0800, jagdeesh_mn wrote: > > Prof Brian Ripley wrote: > > Thanks Mr. Brian. That kind of answers my query. > > On the same note I would like to ask few other questions. Sorry if you find > them naive, I am a novice in this subject and am trying to get a grip on > t

Re: [R] rpart.object help

2010-12-13 Thread jagdeesh_mn
Prof Brian Ripley wrote: > > On Sun, 12 Dec 2010, jagdeesh_mn wrote: > >> Hi, >> >> Suppose i have generated an object using the following : >> fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis) >> >> And when i print fit, i get the following : >> >> n= 81 >> >> node), split, n, loss,

Re: [R] rpart.object help

2010-12-13 Thread Prof Brian Ripley
On Sun, 12 Dec 2010, jagdeesh_mn wrote: Hi, Suppose i have generated an object using the following : fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis) And when i print fit, i get the following : n= 81 node), split, n, loss, yval, (yprob) * denotes terminal node 1) root 81 17

[R] rpart.object help

2010-12-13 Thread jagdeesh_mn
Hi, Suppose i have generated an object using the following : fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis) And when i print fit, i get the following : n= 81 node), split, n, loss, yval, (yprob) * denotes terminal node 1) root 81 17 absent (0.7901235 0.2098765) 2)