save_plot | R Documentation |
Save plot into a figure file with given extension
save_plot(plotexpr, filename, width = 4, height = 3, ppi = 300, ...)
plotexpr |
plot function or plot expression, which is evaluated "lazily". |
filename |
File name. file extension determines the file format. |
width |
width of figure in inch. |
height |
height of figure in inch. |
ppi |
pixel per inchi; used only for raster format. |
... |
arguments for par, e.g., cex or mex. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.