c19_r_plot_save: Save the R plot.

Description Usage Arguments See Also Examples

Description

Save the R plot.

Usage

1

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

Other output funcs: c19_eu_plots_save(), c19_heat_save(), c19_inkmagick(), c19_oblasts_save(), c19_save_all(), c19_var_plot_save()

Examples

1
2
3
4
5
6
## Not run: 
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)

## End(Not run)

StanTraykov/c19bg documentation built on Nov. 2, 2021, 4:46 a.m.