Save the plots to disk
save_plot_png(
plot,
out_dir,
suffix = "",
width = 17,
height = 12,
units = "cm",
dpi = 200,
scale = 1.2,
device = NULL,
path = lifecycle::deprecated()
)
A list of ggplots : output of plot()
The path to the directory where to save the plots
A suffix to append to the file name
The plot width
The plot heigth
The units for plot width and heigth in
units ("in", "cm", or "mm")
The plot resolution.
The scaling factor.
Device to use. Can either be a device function (e.g. png()), or one of "eps", "ps", "tex" (pictex), "pdf", "jpeg", "tiff", "png", "bmp", "svg" or "wmf" (windows only).
Save the plots to path
, named by the situation name,
and returns the plots invisibly for piping.
The function uses ggplot2::ggsave()
under the hood.