Description Usage Arguments Examples
Wrapper to ggsave to auto-save the annoying fiddly arguments I always forget. Works only w/ ggplot2 objects.
1 2 |
filename |
string containing file name |
plot |
which plot to save; by default, the last one created |
saveBoth |
If TRUE, save both a .pdf and .png |
width |
width of rendered plot |
height |
height of the rendered plot |
units |
units of the width/height of rendered plot (typically inches – 'in') |
scale |
scalar factor to enlarge/shrink the rendered plot |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.