get_neighbors: Get neighbor nodes
Description
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).
Usage
get_neighbors(net, nodes)
Arguments
nodes
character vector of node names
Value
a character vector of all the unique neighbors of the given
nodes
in the net
graph.