save_plots | R Documentation |
Save plots to PNG + SVG files
save_plots(dir, basename, plot, width = 6, height = 5, units = "in", dpi = 300)
dir |
directory to save the plots to |
basename |
the base name for the plot files |
plot |
the plot to save |
width |
plot width |
height |
plot height |
units |
the units in which width & height are measured |
dpi |
plot resolution (dots per inch) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.