tests/test_from_igraph.R

library(PAFit)

net <- generate_BA(N = 100, multiple_node = 20, m = 1)

system.time(b <- to_igraph(net))


back <- from_igraph(b)

#plot(network.extract(b,at = 6))

Try the PAFit package in your browser

Any scripts or data that you put into this service are public.

PAFit documentation built on Jan. 18, 2022, 1:10 a.m.