save_png: save_png

save_pngR Documentation

save_png

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.


ezplot documentation built on Nov. 26, 2023, 5:07 p.m.