Wrapper for ggsave() with high resolution defaults for suitable raster-based graphics.
1 2 | saveDefPlot(filename = "plot.png", units = "in", height = 4, width = 6,
dpi = 300)
|
filename |
what you want to call it (default: plot.png) |
units |
units of measure (default: inches) |
height |
height of plot in units above (default: 4 in) |
width |
width of plot in units above (default: 6 in) |
dpi |
resolution (default: 300 dpi) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.