Learn R Programming

EpiModel (version 2.5.0)

multilayer: Specify Controls by Network

Description

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.

Usage

multilayer(...)

Value

an object of class multilayer containing the specified control arguments

Arguments

...

control arguments to apply to each network, with the index of the network corresponding to the index of the control argument