c19_heat_save: Save the incidence heat map.

Description Usage Arguments See Also Examples

View source: R/c19_heat.R

Description

Save the incidence heat map.

Usage

1
c19_heat_save(file_ext = ".png", h = 5.5, ...)

Arguments

file_ext

file extension (e.g. ".png", ".jpg"). ".svg" gets changed to ".png" currently as the SVG output is unsatisfactory.

h

height in inches

...

Passed export params, incl. w (width). Rest passed to ggplot2, e.g. dpi, quality for JPEG output.

See Also

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

Examples

1
2
3
4
5
6
## Not run: 
c19_heat_save() # default is png for screen reading
c19_heat_save(dpi = 300) # e.g. for print
c19_heat_save(file_ext = ".jpg", w = 12, h = 4.5, dpi = 125, quality = 100)

## End(Not run)

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