Neighbors of an agent in a network
Presents all neighbors of a given node.
get.neighbors(net, NodeID)
net
: The input network.NodeID
: The ID of the input node.A vector.
Neighbors of a node are nodes that directly connects to this node.
## Not run: x <- net.ring.lattice(12,4) get.neighbors(x,2) ## End(Not run)
Xu Dong
Useful links