visualize.graph | R Documentation |
This function demonstrates the input graph in which the size of nodes indicates calculated centrality value.
visualize.graph(x, computed.centrality.value = NULL,
centrality.type = "Degree Centrality")
x |
an igraph object |
computed.centrality.value |
A vector containing the values of calculated centrality measure for each node. |
centrality.type |
The type of centrality which should be calculated. |
This function represents the graph in which size of nodes are based on computed centrality value. If the values of wanted centrality measure were computed then by placing them in computed.centrality.value argument to use it for drawing the plot. Otherwise, by only giving the name of favorite centrality measure in centrality.type argument, this function will calculate it and then demonstrates the corresponding graph.
a plot illustrating the graph
Minoo Ashtiani, Mohieddin Jafari
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.