save_PDF | R Documentation |
Save a plot as a PDF file in a (default) folder. The present default is determined by the folder structure for the production of the book.
save_PDF(
fname = "scratch",
folder = "../../Graphs",
show = T,
width = 6,
height = 4.5
)
fname |
the file name without the extension PDF (default: |
folder |
the folder for saving PDF plots (default |
show |
a logical parameter; if TRUE the full file name will be displayed. |
width |
figure width in inches (default = 6). |
height |
figure height in inches (default = 4.5). |
save a plot as a PDF file.
Paul Eilers
Eilers, P.H.C. and Marx, B.D. (2021). Practical Smoothing, The Joys of P-splines. Cambridge University Press.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.