Description Usage Arguments Details Value Author(s) Examples
Present all neighbors of a give agent in a network.
1 | neighbors(net, node)
|
net |
The input network. |
node |
The input node. |
Neighbors of a node are nodes that directly connects to this node.
A vector.
Xu Dong, Nazrul Shaikh.
1 2 3 4 | ## Not run:
x <- net.ring.lattice(12,4)
neighbors(x,2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.