[R] decision tree display
Uwe Ligges
ligges at statistik.tu-dortmund.de
Wed Sep 15 15:10:55 CEST 2010
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 at 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.
More information about the R-help
mailing list