Description Usage Arguments Details Value
A wrapper function for ggsave()
1 | SaveGGPlot(filename, path, width, height, units, dpi, bg)
|
filename |
String, file name/filename of plot |
path |
String, path to save plot to (if you just want to set path and not filename). If NULL(default), reverts to working directory |
width |
Numeric, width. Default is 10 |
height |
Numeric, height. Default is 7.5 |
units |
String, units for width and height when either one is explicitly specified (in, cm, or mm). Default is "in". |
dpi |
Integer, dpi to use for raster graphics. Default is 300. |
bg |
String, background color. Default is "white" |
Default output format is set for PowerPoint presentations
Saves a png file of the last displayed plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.