Loads an SBM Network object that was saved by save_sbm_network
load_sbm_network(loc)
loc | Location on computer of saved model |
---|
New sbm_network
object copy in same state as when model was saved.
Other model_setup:
new_sbm_network()
,
save_sbm_network()
network <- sim_basic_block_network(n_blocks = 3, n_nodes_per_block = 40) sbm_net <- new_sbm_network(edges = network$edges, nodes = network$nodes) temp <- tempfile() save_sbm_network(sbm_net, temp) loaded_sbm_net <- load_sbm_network(temp)