Description Usage Arguments Details Value Examples
View source: R/visualize_mnet.R
Visualize a multi-level network, with the possibility of specifying separate layouts for each level. This is a somewhat hacky wrapper for arranging separate ggraph calls for each network level in a circle.
1 2 3 4 5 6 7 8 9 |
net |
A tidygraph, igraph or statnet network object |
lvl_attr |
The name of the categorical node attribute specifying at which level a node is situated |
layouts |
A list of layouts (see |
label |
logical - should nodes be labelled? (defaults to false) |
directed |
whether the network object shall be interpreted as directed
network. Per default, |
nodesize |
The size of node displays, if displayed as points (if label = false) |
edgewidth |
The width of lines illustrating edges |
For more extensive visualization options, it is recommended to explore the layout_as_multilevel function included in the package graphlayouts.
A ggraph object
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.