Description
Saves ggplot or ezplot objects to png.
Usage
save_png(g, file, width, height, res, ..., vp = NULL)
Arguments
- g
A ggplot or ezplot object.
- file
A png file path.
- width
Width of output image.
- height
Height or output image.
- res
Resolution of output image.
- ...
Further arguments to pass to png().
- vp
A viewport object created with grid::viewport.