save_pdf {tidytidbits}R Documentation

Save plot as PDF

Description

Save plot as PDF

Usage

save_pdf(plot, folder, fileBaseName, width, height, ...)

Arguments

plot

A plot object that can be printed, e.g. result of ggplot2, plot_grid

folder

Destination folder (will be created if it does not exist)

fileBaseName

File base name (suffix ".pdf" will be added)

width, height

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


[Package tidytidbits version 0.3.2 Index]