save_inews | R Documentation |
Save plots (ggsave wrapper)
save_inews( filename, plot = last_plot(), width = 15, height = 11, type = "basic", units = "cm", margin = "none" )
filename |
The filename specified |
plot |
The plot to render, defaults to last plot |
width |
Specified width in cm, defaults to 15 |
height |
Specified height in cm, defaults to 11 |
type |
Adds presets for different graph types or different places on website |
units |
Specift units for width and height |
margin |
Add margins to plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.