Renders a UMG to a graphics file (PDF, PNG, or SVG), or writes code
for one of the export backends. The output format is taken from the
file extension: .pdf/.png/.svg produce graphics,
.tex/.tikz produce TikZ source, and .dot/.gv produce
Graphviz DOT source. Graphics may be produced with either the base
grid renderer (default) or the ggplot2 backend. Graphics
dimensions are in inches.
Arguments
- model
An object of class
umg.- file
Output path; the extension (
.pdf,.png,.svg,.tex/.tikz,.dot/.gv) selects the format.- width, height
Dimensions in inches for graphics devices.
- res
Resolution in dpi for PNG output.
- theme
A
umg_themefor graphics output (seeumg_theme()).- backend
Graphics backend for raster/vector output:
"grid"(default) or"ggplot".- ...
Passed to
plot.umg()/umg_ggplot()(graphics),umg_to_tikz()(TikZ), orumg_to_dot()(DOT).