I have created plots of rpart objects with the fancy option for text.rpart
("fancy" creates ellipses and rectangles and labels branches with splitting
criteria). The ellipses and rectangles are supposed to "interrupt" the tree
lines (as seen in Therneau and Atkinson 1997, page 48, Fig. 18,
http://www.mayo.edu/hsr/techrpt/61.pdf), but they do not, even when I use
Therneau and Atkinson's code.

> plot(tree, uniform = T, branch = 0.2, compress = T, margin = 0.1)
> text(tree, all = T, use.n=T, fancy = T)

How do I "interrupt" the tree lines?

Thank you,
Claudia

        [[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.

Reply via email to