View source: R/utilities-reportingengine-env.R
setDefaultPlotFormat | R Documentation |
Set default plot format to be exported by reporting engine
setDefaultPlotFormat(
format = NULL,
width = NULL,
height = NULL,
units = NULL,
dpi = NULL
)
format |
file format of the exported plots. E.g. "png" or "pdf" |
width |
plot width in |
height |
plot height in |
units |
units of |
dpi |
Plot resolution in dots per inch. Caution, font sizes depend on resolution. |
setDefaultPlotFormat(format = "pdf")
setDefaultPlotFormat(width = 16, height = 9, units = "cm", dpi = 300)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.