Description Usage Arguments Value Examples
Neighbor Whether two nodes are neighbors in a graph
1 | is.neighbor(node1, node2, graph)
|
node1 |
One node, numeric |
node2 |
Another node, numeric |
graph |
A graph, vector |
TRUE if node1 and node2 are neighbors in the graph
1 | is.neighbor(1, 2, c6(1:6)[1, ])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.