save_image | R Documentation |
save ggplot into PNG file
save_image( plot_name, file_name, dpi_value = 600, width_value = NA, height_value = NA, unit_value = NA )
plot_name |
ggplot object |
file_name |
file's name (including .png) |
dpi_value |
resolution (default 600) |
width_value |
width for ggsave |
height_value |
height for ggsave |
unit_value |
unit for ggsave |
saved file in disk
ggplot theme object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.