Description Usage Arguments Value
The purpose of this function is to create some default network attribute options to plot networks in a nice and insightfull way.
1 2 | setNetworkAttributes(g, size_attribute = "freq", color_attribute = NA,
redo_layout = F)
|
g |
A graph in the Igraph format. |
size_attribute |
the name of the vertex attribute to be used to set the size of nodes |
if |
TRUE, isolates are placed next to the network |
a network in the Igraph format
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.