Learn R Programming

EpiModel (version 2.3.2)

recovery.2g.net: Recovery: netsim Module

Description

This function simulates recovery from the infected state either to a distinct recovered state (SIR model type) or back to a susceptible state (SIS model type), for use in netsim.

Usage

recovery.2g.net(dat, at)

Value

The updated dat main list object.

Arguments

dat

Main list object containing a networkDynamic object and other initialization information passed from netsim.

at

Current time step.