init_mgen.Rd
Sets the initial conditions for a stochastic epidemic models simulated with netsim.
netsim
init_mgen(ninfs = 5, ...)
A list object of class init.net, which can be passed to EpiModel function netsim.
init.net