Description Usage Arguments Details Value Author(s) See Also Examples
NG_graph objects wrap the transition graphs and additional information such as graph name and graph layout.
The node names of the graph split by the chosen sep
character
sting must match either the variable names- or the short names of
the NG_data object.
1 |
name |
Name of graph. This name will be displayed in the pull down menu within a navGraph session. |
graph |
Undirected graph objects of class |
sep |
Node names represent a set of variables whose name are separated by
the character string |
layout |
One of the following strings: "circle", "kamadaKawaiSpring", "fruchtermanReingold" or "random". |
The number of sep
occurrences in each node name of the graph must be
the same.
NG_graph object.
Adrian Waddell and R. Wayne Oldford
navGraph
, newgraph
, completegraph,
linegraph
, complement
,
ng_get-methods
, ng_set-methods
1 2 3 4 5 6 7 8 9 | G <- completegraph(LETTERS[1:4])
LG <- linegraph(G, sep = "++")
ng.lg <- ng_graph("3d transition", LG, "++", "fruchtermanReingold" )
plot(ng.lg)
## If you have the Rgraphviz package working, plot graph object of class graph
## Not run: library(Rgraphviz)
## Not run: plot(LG)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.