This function finds neighbours of a node in a graph, which is stored in a contigency matrix. The output of the function are a vector of node names.
1 | find_nbr(graph, node)
|
graph |
A graph that is stored in an adjacency matrix. |
node |
A node that is expressed in text, e.g. "V1" or "X1". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.