This is a simple wrapper function for ggsave
to make a 4:3 ratio image that seems to produce
saved PNGs that look reasonable from figures generated in this package.
1 | figuresave(filename, figobject, figheight = 15)
|
filename |
The desired PNG filename, with extension |
figobject |
The figure object (ggplot object) to be saved |
figheight |
The desired heigh in CM. The default is set at 15 cm, which seems to work fine without further specification |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.