Description Usage Arguments Value
Given an igraph network object and vector of node names, this function returns the set of unique neighbor nodes considering both ingoing and outgoing edges (the closed neighbourhood node set).
1 | get_neighbors(net, nodes)
|
net |
igraph object |
nodes |
character vector of node names |
a character vector of all the unique neighbors of the given
nodes
in the net
graph.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.