ragg_png | R Documentation |
A [ggplot2::ggsave] equivalent using the 'ragg' package to produce better png images.
ragg_png(file, plot = NULL, width = 600, height = 600, overwrite = NULL, ...)
file |
The file name of the image |
plot |
The plot to save, uses 'ggplot2::last_plot()' if left as 'NULL' |
width |
The width in pixels |
height |
The height in pixels |
overwrite |
Whether to overwrite existing files |
... |
Arguments passed down to 'ragg::agg_png()' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.