statnet / ergm.multi

Fit, Simulate and Diagnose Exponential-Family Models for Multiple or Multilayer Networks
Other
14 stars 1 forks source link

Provide a network_view(), UnLayer(), or similar method for Layer() constructs. #14

Open krivit opened 2 years ago

krivit commented 2 years ago

There out to be a convenient way to resplit, say, a simulated multilayer network into individual layers. It should probably have an output=c("attributes","list") argument, with the former producing a single network with an edge attribute for each layer and the latter producing a list of networks, one for each layer.

krivit commented 2 years ago

It will also need to put bipartite, undirected, etc. attributes back.