reinit_msm: Re-Initialization Module

Description Usage Arguments Details Value

Description

This function reinitializes an epidemic model to restart at a specified time step given an input netsim object.

Usage

1
reinit_msm(x, param, init, control, s)

Arguments

x

An EpiModel object of class netsim.

param

An EpiModel object of class param_msm.

init

An EpiModel object of class init_msm.

control

An EpiModel object of class control_msm.

s

Simulation number, used for restarting dependent simulations.

Details

Currently, the necessary components that must be on x for a simulation to be restarted must be: param, control, nwparam, epi, attr, temp, el, p. TODO: describe this more.

Value

This function resets the data elements on the dat master data object in the needed ways for the time loop to function.


dth2/EpiModelHIV_SHAMP documentation built on May 15, 2019, 4:56 p.m.