tree.screens | R Documentation |
Splits the screen in a way suitable for using tile.tree
.
tree.screens(figs, screen.arg = 0, ...)
figs |
A specification of the split of the screen. See
|
screen.arg |
the screen to divide, by default the whole display area. |
... |
plot parameters to be passed to |
A vector of screen numbers for the newly-created screens.
B. D. Ripley
tile.tree
, split.screen
data(fgl, package="MASS") fgl.tr <- tree(type ~ ., fgl) summary(fgl.tr) plot(fgl.tr); text(fgl.tr, all=TRUE, cex=0.5) fgl.tr1 <- snip.tree(fgl.tr, node=c(108, 31, 26)) tree.screens() plot(fgl.tr1) tile.tree(fgl.tr1, fgl$type) close.screen(all = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.