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