save_pdf: Save plot as PDF

Description Usage Arguments

View source: R/plotting.R

Description

Save plot as PDF

Usage

1
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


tidytidbits documentation built on March 8, 2021, 5:07 p.m.