Description Usage Arguments Examples
This function saves a ggplot object to multiple formats in the same dimensions with similar filenames. By default it saves to SVG, PDF, and PNG.
1 2 |
plot |
The ggplot object to save |
filename |
The file name without the extension |
formats |
A character vector of formats to save |
width |
The width in the same units that |
height |
The height in the same units that |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.