Description Usage Arguments Value Examples
Get summary for a node in the network.
1 | get_summary_for_node(node, network)
|
node |
The node to summarize. Can be a character string corresponding to a name of a node in the network, or an integer value from 1 to p corresponding to the index of a node. |
network |
A network object. |
A list containing summary information for the node; this includes a vector of indicies to other nodes in the network it is connected to, and a vector of incidices to modules that contain the node.
1 2 3 4 5 | set.seed(12345)
nw <- random_network(100)
get_summary_for_node(1, nw)
# Node 1 is contained in modules 1 and 2, and it is connected to nodes
# 2, 4, 11, 13, 23, and 29.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.