igToPS {integr} | R Documentation |
Exports Interaction graph to a PS (PostScript) file
Description
Exports Interaction graph to a PS (PostScript) file
Usage
igToPS(ig, path = "", fName = "InteractionGraph", h = 2000)
Arguments
ig |
Interaction graph |
path |
The folder in which to write the PS file; |
fName |
The name of the file to be created; "InteractionGraph" by default |
h |
Desired height of the image in pixels; 2000px by default |
Value
Writes the ig
interaction graph to a PostScript (.ps
)
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 PS
igToPS(g, path = myDir, fName = "MyGraph", h = 2000)
[Package integr version 1.0.0 Index]