Description Usage Arguments Examples
saves ggplot plots with attractive defaults
1 2 3 4 5 6 7 8 |
plot_object |
is a ggplot object |
file_name |
is the name you want your plot image saved as |
color |
of file name that will appear in caption (default is "lightgray") |
face |
font face of caption with file name (default is "italic") |
size |
font size of caption with file name (default is 3) |
... |
additional arguments for ggsave such as height, width, units, etc. |
1 | my_ggsave(p, "myplot.png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.