RE: [R] Tree question with ordinal IV and split labels

2003-07-18 Thread Sung, Iyue
Use "pretty" option in "text" function: plot(mytree) text(mytree, pretty=0) > -Original Message- > From: Peter Flom [mailto:[EMAIL PROTECTED] > Sent: Friday, July 18, 2003 3:21 PM > To: [EMAIL PROTECTED] > Subject: [R] Tree question with ordinal IV

[R] Tree question with ordinal IV and split labels

2003-07-18 Thread Peter Flom
Hi I have a tree, created in rpart. One of the IVs is an ordinal variable. I would like to get the splits labeled with the LEVELS of this factor, rather than a,b,c, and d. Is there a way to do this? Thanks in advance Peter L. Flom, PhD Assistant Director, Statistics and Data Analysis Core

RE: [R] Tree question

2003-07-15 Thread Liaw, Andy
From: Peter Flom [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 15, 2003 2:44 PM > To: [EMAIL PROTECTED] > Subject: [R] Tree question > > > I was under the impression that the tree method (e.g. as > implemented in > rpart) was insensitive to monotonic transformations o

[R] Tree question

2003-07-15 Thread Peter Flom
I was under the impression that the tree method (e.g. as implemented in rpart) was insensitive to monotonic transformations of the dependent variable. e.g. Breiman Olshen et al. Classification and Regression Trees state "In a standard data structure [a tree] is invariant under all monotone transf