Hi,
is there a way to replace long splits with some short naming
conventions?
For example if my resulting tree from rpart has 50-100 values can I
display some summary text like group1 instead of group num = 1 or 2 or
3....100?
is there a way to specify different display text for nodes instead
of the actual split conditions?
thanks
Dhruv
[[alternative HTML version deleted]]
fit <- rpart(.... Are you asking about print(fit), summary(fit), or plot(fit)? Terry Therneau
Plot fit. When I plot fit and I have node splits on lengthy conditions (like State= 1, or State =2 etc is too long and looks ugly). -----Original Message----- From: Terry Therneau [mailto:therneau at mayo.edu] Sent: Friday, October 17, 2008 10:07 AM To: r-help at r-project.org Cc: Sharma, Dhruv Subject: Re: Rpart display fit <- rpart(.... Are you asking about print(fit), summary(fit), or plot(fit)? Terry Therneau