Description Usage Arguments Author(s)
View source: R/loading_and_writing.R
Save a ggplot object in multiple output formats
1 | save_plot(myplot, fname, w = 8, h = 8, dpi = 400)
|
myplot |
A ggplot object |
fname |
An output filename |
w |
The width of the plot in inches (default: 8) |
h |
The height of the plot in inches (default: 8) |
dpi |
The dpi (default: 400) |
Martin Jung
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.