A version of ggsave() meant to be piped to from a ggplot call or a ggplot object.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
plot |
Plot to save, defaults to last plot displayed. |
filename |
File name to create on disk. |
device |
Device to use. Can either be a device function
(e.g. |
path |
Path to save plot to (combined with filename). |
scale |
Multiplicative scaling factor. |
width |
Plot size in |
height |
Plot size in |
units |
Plot size in |
dpi |
Plot resolution. Also accepts a string input: "retina" (320), "print" (300), or "screen" (72). Applies only to raster output types. |
limitsize |
When |
... |
Other arguments passed on to the graphics device function,
as specified by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.