If you are talking about an rpart object you are going to plot, see

?plot.rpart

and

?text.rpart


Uwe Ligges


On 19.08.2010 23:10, Olga Shaganova wrote:
I am using  "plot" and "text" commands to display the decision tree I built,
here is the code:

plot(fit, compress=TRUE)
  text(fit, use.n=TRUE)
but the the result of this code is not readable. Text doesn't get fully
displayed (missing on the margines and overlapping in the middle).  Where
can I get info on how to adjust the tree display and text size display?
Please help.

Thank you!
Olga

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to