pdf_digraph | R Documentation |
Include digraphs in pdf output of Rmarkdown
pdf_digraph(filename, code)
filename |
String of filename to save to, with exention .pdf |
code |
Either a string defining a digraph in the DOT language, or a string of a .gv filename (this file must be stored in the same working directory). |
Plots a digraph in the pdf output of an Rmarkdown document, when function is embedded in a code chunk.
## Not run: pdf_digraph_gv("graph.pdf", "graph.gv") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.