treesToPDF | R Documentation |
treesToPDF
exports trees to a pdf in an orderly fashion
treesToPDF(plots, file, nrow = 2, ncol = 2, ...)
plots |
list of tree plots (from plotTrees) |
file |
output file name |
nrow |
number of rows per page |
ncol |
number of columns per page |
... |
optional arguments passed to grDevices::pdf |
a PDF of tree plots
plotTrees
## Not run:
data(ExampleClones)
trees <- getTrees(ExampleClones[10,])
plots <- plotTrees(trees)
treesToPDF(plots,"test.pdf",width=5,height=6)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.