- mechanism
An object of class epicmodel_mechanism.
- sc
A single integer value (can be specified as numeric, e.g., 2 instead of 2L). If provided, a graph is only exported for the specified
sufficient cause, e.g., for SC2 if sc = 2. If sc = NULL (default), graphs for all sufficient causes are exported.
- file_name
The name of the exported file (including it's extension).
- file_type
The type of file to be exported. Options for graph files
are: png, pdf, svg, and ps.
- title
An optional title for the output graph.
- ...
Arguments passed on to DiagrammeR::export_graph
width
Output width in pixels or NULL for default. Only useful for
export to image file formats png, pdf, svg, and ps.
height
Output height in pixels or NULL for default. Only useful for
export to image file formats png, pdf, svg, and ps.