Obtain the Neighborhood of a Given Vertex
get.neighborhood.Rdget.neighborhood returns the IDs of all vertices belonging to the in,
out, or combined neighborhoods of v within network x.
Details
Note that the combined neighborhood is the union of the in and out neighborhoods – as such, no vertex will appear twice.
References
Butts, C. T. (2008). “network: a Package for Managing Relational Data in R.” Journal of Statistical Software, 24(2). doi:10.18637/jss.v024.i02
Wasserman, S. and Faust, K. 1994. Social Network Analysis: Methods and Applications. Cambridge: Cambridge University Press.
Author
Carter T. Butts buttsc@uci.edu