Save plot as PDF
save_pdf(plot, folder, fileBaseName, width, height, ...)
A plot object that can be printed, e.g. result of ggplot2, plot_grid
Destination folder (will be created if it does not exist)
File base name (suffix ".pdf" will be added)
PDF width and height in inches or as grid::unit
.
If missing and the plot object has a "papersize" attribute c(width, height), this will be used.
Further arguments which will be passed to cairo_pdf
, e.g. family