save_plot | R Documentation |
This function save a plot of a list of plots to provided path(s).
save_plot(p, path = NULL, width = 7/5, height = 7/4, ...)
p |
|
path |
Character. Path(s) to save the image. |
width |
Numeric. Width of the image. |
height |
Numeric. Height of the image. |
... |
Other arguments passed to |
The image path(s).
p <- ggplot2::ggplot(cars) + ggplot2::geom_point(ggplot2::aes(dist, speed))
save_plot(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.