This utility function allows specification of certain
netsim() controls to vary by network. The
netsim() control arguments currently supporting
multilayer specifications are nwstats.formula,
set.control.ergm, set.control.tergm, and
tergmLite.track.duration.
multilayer(...)an object of class multilayer containing the specified
control arguments
control arguments to apply to each network, with the index of the network corresponding to the index of the control argument
netsim() for passing a list of netest() fits, one per layer.
The Multi-Layer Networks
chapter of the Network Modeling for Epidemics course materials works
through a two-layer model in full.