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