powered by
This function converts a PAFit_net object to an igraph object (of package igraph).
PAFit_net
igraph
to_igraph(net_object)
The function returns an igraph object.
An object of class PAFit_net.
Thong Pham thongphamthe@gmail.com
library("PAFit") # a network from Bianconi-Barabasi model net <- generate_BB(N = 50 , m = 10 , s = 10) igraph_graph <- to_igraph(net)
Run the code above in your browser using DataLab