save_dot_graph_as | R Documentation |
Saves dot graph as file using system command 'dot' from GraphViz (https://graphviz.org/) if installed.
save_dot_graph_as(
dot_graph,
save_to_file = NULL,
save_as = c("png", "svg", "pdf"),
width = NULL,
height = NULL
)
dot_graph |
Dot graph as a character string |
save_to_file |
Name of file to save to. Without path or relative path saves to the R's current working directory. If NULL returns file content as string. |
save_as |
File format. Default is "png" |
width |
width of the procedures graph in pixels |
height |
height of the procedures graph in pixels |
Ethier raw file as character string if save_to_file
is NULL or a file name, i.e. the value of save_to_file
is it is not NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.