setDefaultPlotFormat: setDefaultPlotFormat

View source: R/utilities-reportingengine-env.R

setDefaultPlotFormatR Documentation

setDefaultPlotFormat

Description

Set default plot format to be exported by reporting engine

Usage

setDefaultPlotFormat(
  format = NULL,
  width = NULL,
  height = NULL,
  units = NULL,
  dpi = NULL
)

Arguments

format

file format of the exported plots. E.g. "png" or "pdf"

width

plot width in 'unit'

height

plot height in 'unit'

units

units of 'width' and 'height' included in "in", "cm", "mm", or "px"

dpi

Plot resolution in dots per inch. Caution, font sizes depend on resolution.

Examples

setDefaultPlotFormat(format = "pdf")
setDefaultPlotFormat(width = 16, height = 9, units = "cm", dpi = 300)


Open-Systems-Pharmacology/OSPSuite.ReportingEngine documentation built on Sept. 13, 2024, 11:36 a.m.