to_igraph | R Documentation |
This function converts a PAFit_net
object to an igraph
object (of package igraph).
to_igraph(net_object)
net_object |
An object of class |
The function returns an igraph
object.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.