Loads an SBM Network object that was saved by save_sbm_network

load_sbm_network(loc)

Arguments

loc

Location on computer of saved model .rds file.

Value

New sbm_network object copy in same state as when model was saved.

See also

Other model_setup: new_sbm_network(), save_sbm_network()

Examples

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)