Output ggplot object to PNG files with good quality settings.
pubpng(file, plot, width = 1600, height = 1400, res = 200)
Output file path and name.
ggplot object or command.
Width of plot, in pixels. Defaults to 1600.
Height of plot, in pixels. Defaults to 1400.
Resolution, in ppi. Deagults to 200.
TRUE if succesful, while file is saved to disk.
grDevices::png