Learn R Programming

cSEM (version 0.6.0)

save_single_plot: Internal: save_single_plot Helper function to save a single DiagrammeR plot based on the file extension

Description

diagrammer_obj DiagrammeR plot object to be saved. out_file The name of the file to save the plot to (supports 'pdf', 'png', 'svg', and 'dot' formats).

Usage

save_single_plot(
diagrammer_obj, 
out_file,
.path = NULL)

Value

NULL.

Arguments

.path

Character string. Path of the directory to save the file to. Defaults to NULL.