to_pdf | R Documentation |
Function for repeatedly writing plots to PDFs
to_pdf(PLOT, w, h, mar = rep(1, 4))
PLOT |
a function that produces a plot |
w |
the requested width of the PDF |
h |
the requested height of the PDF |
mar |
the margins of the PDF, set by a call to par(mar=mar). Defaults to c(1,1,1,1) |
A function that takens optional arguments to the PLOT function and fname, the name of the PDF. One-off changes to w, h, and mar, are specified with width, height, and margin, respectively
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.