induced_level_subgraph {motifr} | R Documentation |
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")
net |
the network |
level |
the (number of the) level |
lvl_attr |
name of the nodal attribute specifying the level |
induced subgraph as network
object.
subgraph_actors <- induced_level_subgraph(motifr::ml_net, 1)
plot_mnet(subgraph_actors, label = TRUE)