Save the R plot.

c19_r_plot_save(...)

Arguments

...

Passed export params: w (width), h (height), file_ext (".svg", ".png", ".jpg"; others may work as well). Rest passed to ggplot2::ggsave, e.g. dpi, quality for JPEG output.

See also

Examples

if (FALSE) { c19_r_plot_save() # default is SVG c19_r_plot_save(file_ext = ".png", dpi = 300) c19_r_plot_save(file_ext = ".jpg", dpi = 125, quality = 90) }