Save ggplot graphics
1 2 | save_gggraphics(object, graphic_format = c("jpg", "png"), file_path,
width = 15, height = 15, units = "cm", dpi = 100)
|
object |
ggplot graphic |
graphic_format |
format to be saved ("jpg", "png") |
file_path |
path and file name of graphic arquive to be saved |
width |
width of graphic in units of measure |
height |
height of graphic in units of measure |
units |
unit of measure ("cm", "inch") |
dpi |
dot per inch resoluition |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.