igToGrViz {integr} | R Documentation |
Exports Interaction graph to a GraphViz file
Description
Exports Interaction graph to a GraphViz file
Usage
igToGrViz(ig, path = "", fName = "InteractionGraph")
Arguments
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 |
Value
Writes the ig
interaction graph to a GraphViz .gv
file
to the folder specified in the path
Examples
#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")
[Package integr version 1.0.0 Index]