graphreduce | R Documentation |
Reduce a graph to have unique node names
graphreduce(graph, separator)
graph |
graph of class loongraph |
separator |
one character that separates the spaces in node names |
Note this is a string based operation. Node names must not contain the separator character!
graph object of class loongraph
G <- completegraph(nodes=LETTERS[1:4])
LG <- linegraph(G)
LLG <- linegraph(LG)
R_LLG <- graphreduce(LLG)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.