Description Usage Arguments Value Examples
Exports Interaction graph to a GraphViz file
1 |
ig |
Interaction graph |
path |
The folder in which to write the GraphViz file; |
fName |
The name of the file to be created; "InteractionGraph" by default |
Writes the ig
interaction graph to a GraphViz .gv
file
to the folder specified in the path
1 2 3 4 5 6 7 8 | #create temp dir path with slashes
myDir <- gsub("\\\\", "/", tempdir())
#create interaction graph
g <- interactionGraph(golf, "Play", intNo = 10)
#write to 'graphviz' file
igToGrViz(g, path = myDir, fName = "MyGraph")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.