tests/test_graph_from_file.R

library("PAFit")
net <- generate_BB(N = 100, multiple_node = 20, m = 1)


# graph_to_file(net, format = "edgelist", file_name = "my_test.txt")
# 
# graph_to_file(net, format = "gml", file_name = "my_test.gml")
# 
# 
# u <- graph_from_file("my_test.txt")
# 
# u <- graph_from_file("my_test.gml", format = "gml")
thongphamthe/PAFit documentation built on March 30, 2024, 4:14 p.m.