Description Usage Arguments Details Value Author(s) Examples
Finds all direct neighbours of a given vertex in a given graph.
1 | neighbours(model=NULL,edges=NULL,v)
|
model |
|
edges |
matrix with 2 columns, each row representing one edge, and each column one of the vertices in the edge. |
v |
reference vertex. |
Returns all vertices with a direct connection with vertex v
in
edges
.
Vector with all neighbours of vertex v
.
Gabriel Coelho Goncalves de Abreu (abreu_ga@yahoo.com.br)
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.