Re: [R] how is xerror calculated in rpart?

2010-04-30 Thread Tang, Hsiu-Khuern
* On Thu 05:53PM -0700, 29 Apr 2010, Seth (sjmy...@syr.edu) wrote: Hi, I've searched online, in a few books, and in the archives, but haven't seen this. I believe that xerror is scaled to rel error on the first split. After fitting an rpart object, is it possible with a little math to

[R] how is xerror calculated in rpart?

2010-04-29 Thread Seth
Hi, I've searched online, in a few books, and in the archives, but haven't seen this. I believe that xerror is scaled to rel error on the first split. After fitting an rpart object, is it possible with a little math to determine the percentage of true classifications represented by a xerror