Transform an igraph
object to a fastnet
object
igraph
object to a fastnet
objectTransform an igraph
object to an ego-centric list form used in fastnet
.
from.igraph(net.igraph)
net.igraph
: The input igraph
object.A list containing the nodes of the network and their respective neighbors.
## Not run: library("igraph") net.igraph <- erdos.renyi.game(100,0.1) g <- from.igraph(net.igraph) ## End(Not run)
Xu Dong.
Useful links