View source: R/utility_functions.r
Save ggplot to PDF and PNG
1 | ggsave_pdf_and_png(filename_root, plot, width = 4, height = 2.472, ...)
|
filename_root |
Root filename (without extension). |
plot |
ggplot object. |
width |
plot width in inches. |
height |
plot height in inches. |
... |
parameters passed on to ggsave. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.