This function is intended to be used together with simulate_baseline() for partial ERGM models. Currently, only network objects are supported as input.

induced_level_subgraph(net, level, lvl_attr = "sesType")

Arguments

net

the network

level

the (number of the) level

lvl_attr

name of the nodal attribute specifying the level

Value

induced subgraph as network object.

Examples

subgraph_actors <- induced_level_subgraph(motifr::ml_net, 1) plot_mnet(subgraph_actors, label = TRUE)