Description Usage Arguments Value
This utility function performs a conversion of network objects from the network package into igraph object compatible with ggraph. Edge and node attributes are preserved which, for the context of ggraph, is the most important.
1 | network_to_igraph(graph)
|
graph |
A graph as a network object |
A representation of the same graph as given in the function call but as an igraph object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.