View source: R/finalize_ggplot.R
A wrapper function for the ggplot2 ggsave with custom parameters.
1 | save_ggplot(plot, width, height, save_filepath)
|
plot |
The plot object (ggplot2) |
width |
Width in pixels that you want to save your chart to |
height |
Height in pixels that you want to save your chart to |
save_filepath |
Exact filepath that you want the plot to be saved to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.