save_png | R Documentation |
Save a plot as a png
save_png(plot, filename, width, height, dpi = 400)
plot |
A plot object. |
filename |
Filename to save to a png. |
width |
Width of the image in inches. |
height |
Height of the image in inches. |
dpi |
Number of pixels per inch for the png. The default is 400. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.