Description Usage Arguments Author(s) Examples
Outputs a pdf graphic of the model using graphviz
1 2 3 4 5 |
model |
The RAM model to be imaged. |
file |
location where the pdf file is to be stored |
dotFilename |
not used. |
rank.direction |
a string of the form, either "LR", or "TB", indicating Left to right or top to bottom |
max.rank |
a string of the form "V1, V2, V3", where variables 1-3 are either at the most-right of the page or top-most (depending on whether rank.direction = LR or TB) |
min.rank |
same as above but will be in most-left or bottom-most |
same.rank |
what variables should be lined up. Uses same format as max.rank and min.rank. |
delete.dot |
logical. Indicates whether the dot files should be deleted (and thus only return pdf files) |
silent |
Should R output information from system commands? |
label |
The label attached to the graphviz diagram. It will be displayed at the bottom of the image. |
node.labels |
Should the nodes be labeled? |
Dustin Fife
1 2 3 4 5 | # generate random model
rand.model = DE(LETTERS[1:5], paths=6)
# output to graphic
DE.graphviz(rand.model, min.rank="A, B, C")
# now go look at the root directory for the pdf graphic
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.