Save image and print it
1 2 3 | saveReturnPlot(plot, save_plot = TRUE, plot_name = "",
output_path = "", is_ggplot = TRUE, save_width, save_height,
save_format)
|
plot |
ggplot2 plot object |
save_plot |
Save plot to disk |
plot_name |
name of ggplot file |
output_path |
path to output |
is_ggplot |
Plot is ggplot object or not |
save_width |
With of exported plot (ggplot only) |
save_height |
Height of exported plot in 'in' (ggplot only) |
save_format |
Format of exported plot in 'in' (ggplot only) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.