get_summary_for_node: Get summary for a node in the network.
Description
Get summary for a node in the network.
Usage
get_summary_for_node(node, network)
Arguments
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.
Value
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.
# NOT RUN {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.# }