Description Usage Arguments Value Examples
This function wraps around the ggsave function of gglpot2 (ggsave) by setting the defaults to the SGB standard output.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
filename |
see documentation of ggsave |
wide |
boolean (default = FALSE), if TRUE widens the plot to width = 6.5 and height = 4.5 |
plot |
see documentation of ggsave |
device |
see documentation of ggsave |
path |
see documentation of ggsave |
scale |
see documentation of ggsave |
width |
see documentation of ggsave |
height |
see documentation of ggsave |
units |
see documentation of ggsave |
dpi |
see documentation of ggsave |
limitsize |
see documentation of ggsave |
... |
see documentation of ggsave |
see documentation of ggsave
1 | ggsave("my_sgb_plot.png")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.