View source: R/utilities-export.R
setPlotExport | R Documentation |
Set plot export properties
setPlotExport(
plotObject,
name = NULL,
format = NULL,
width = NULL,
height = NULL,
units = NULL,
dpi = NULL
)
plotObject |
Graphical object created from ggplot |
name |
character defining the name of the file to be saved (without extension) |
format |
character defining the format of the file to be saved. |
width |
numeric values defining the width in |
height |
numeric values defining the height in |
units |
character defining the unit of the saving dimension |
dpi |
numeric value defining plot resolution (dots per inch) |
ggplot object with updated saving properties
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.