Re: [R] Rpart question - labeling nodes with something not in x$frame

2003-07-17 Thread Ko-Kang Kevin Wang
On Thu, 17 Jul 2003, Peter Flom wrote: > I have a tree created with > > tr.hh.logcas <- rpart(log(YCASSX + 1)~AGE+DRUGUSEY+SEX+OBSXNUM +WINDLE, > xval = 10) > > I would like to label the nodes with YCASSX rather than log(YCASSX + > 1). But the help file for text in library rpart says that you c

[R] Rpart question - labeling nodes with something not in x$frame

2003-07-17 Thread Peter Flom
I have a tree created with tr.hh.logcas <- rpart(log(YCASSX + 1)~AGE+DRUGUSEY+SEX+OBSXNUM +WINDLE, xval = 10) I would like to label the nodes with YCASSX rather than log(YCASSX + 1). But the help file for text in library rpart says that you can only use labels that are part of x$frame, which YCA