Re: [R] prune in rpart: choose number terminal nodes

2012-09-23 Thread Uwe Ligges
On 21.09.2012 11:49, agent dunham wrote: Dear community, I've an rpart object, and I know the CP I want. I'd like to know if it's possible also to fix the number of terminal nodes I want. I don't know of any existing function, but you can write it yourself: All the information you need is

Re: [R] prune in rpart: choose number terminal nodes

2012-09-23 Thread Prof Brian Ripley
On 23/09/2012 17:32, Uwe Ligges wrote: On 21.09.2012 11:49, agent dunham wrote: Dear community, I've an rpart object, and I know the CP I want. I'd like to know if it's possible also to fix the number of terminal nodes I want. I don't know of any existing function, but you can write it

[R] prune in rpart: choose number terminal nodes

2012-09-21 Thread agent dunham
Dear community, I've an rpart object, and I know the CP I want. I'd like to know if it's possible also to fix the number of terminal nodes I want. Thanks in advance, u...@host.com as u...@host.com -- View this message in context: