save_png | R Documentation |
Saves ggplot or ezplot objects to png.
save_png(g, file, width, height, res, ..., vp = NULL)
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 |
vp |
A viewport object created with grid::viewport. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.