powered by
treesToPDF exports trees to a pdf in an orderly fashion
treesToPDF
treesToPDF(plots, file, nrow = 2, ncol = 2, ...)
a PDF of tree plots
list of tree plots (from plotTrees)
output file name
number of rows per page
number of columns per page
optional arguments passed to grDevices::pdf
plotTrees
if (FALSE) { data(ExampleClones) trees <- getTrees(ExampleClones[10,]) plots <- plotTrees(trees) treesToPDF(plots,"test.pdf",width=5,height=6) }
Run the code above in your browser using DataLab