igToGrViz: Exports Interaction graph to a GraphViz file

Description Usage Arguments Value Examples

Description

Exports Interaction graph to a GraphViz file

Usage

1
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

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")

integr documentation built on May 24, 2019, 5:06 p.m.