powered by
igraph
fastnet
Transform an igraph object to an ego-centric list form used in fastnet.
from.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) # }
Run the code above in your browser using DataLab