create_qmd | R Documentation |
Creates a QMD graph using data.frames for comp and arrow.
create_qmd(comp = NULL, arrow = NULL, pbpk = NULL, graph_attrs = NULL,
flipped = FALSE, title = NULL, save_qmd = FALSE, file_name = NULL,
format = "svg", width = NULL, height = NULL)
comp |
a data.frame created by |
arrow |
a data.frame created by |
pbpk |
a list created by |
graph_attrs |
an optional data.frame of graph attribute statements that can serve as defaults for the graph. The data.frame must contain the "attr", "value" and "type" columns. (e.g. data.frame(attr = "layout", value = "dot", type = "graph") |
flipped |
logical if |
title |
a title to be added to the graph |
save_qmd |
save the graph into a file (default |
file_name |
name of the file to be created on the disk when save_qmd is |
format |
file format when save_qmd is |
width |
width of the resulting graphic in pixels |
height |
height of the resulting graphic in pixels |
## Not run:
define_graph(comp = define_comp_layout(examples$onecomp),
arrow = define_arrow_layout(examples$onecomp))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.