Description Usage Arguments Examples
Save ggplot - ggsave wrapper. Saves image, GGplot object, and data.
1 2 3 | saveplot(plotname = "Plot", plotformat = "eps", ffamily = "Helvetica",
splot = last_plot(), ploth = 21/2, plotw = 14, plotdir = ".",
dpi = 96)
|
plotname |
String. Defaults 'Plot'. |
plotformat |
String |
ffamily |
Font family. Defaults to 'Helvetica' |
splot |
Ggplot object. Defaults to last plot |
ploth |
Height of plot in centimeters. Defaults to 11.5 |
plotw |
Width of plot in centimeters. Defaults to 14 |
plotdir |
Directory for saving - plot, data and image are saved into subdirectories |
dpi |
resolution for raster graphics, passed to ggsave |
1 | saveplot()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.