Description Usage Arguments Value
View source: R/plotsave_auto.R
Wrapper around ggplot2::ggsave()
1 2 3 4 5 6 7 8 9 10 11 12 | ggsave_auto(
folder = "ggsaveauto_img",
n_pad = 3,
padding = stringr::str_pad(1, n_pad, pad = "0"),
img_prefix = "img_",
img_ext = ".png",
width = 20,
height = 12,
unit = "cm",
plot_load = "app",
...
)
|
folder |
Passed to |
n_pad |
Number of |
padding |
Unique identifier for current plot |
img_prefix |
Prefix of the image file name |
img_ext |
Extension of the iamge file name |
width |
Passed to |
height |
Passed to |
unit |
Passed to |
plot_load |
Options for loading the saved plot for viewing. One of |
... |
Passed to |
Returns the value of the current/new graphic device. You can suppress this with invisible()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.