Learn R Programming

EpiModel (version 2.5.0)

recovery.icm: Recovery: icm 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 icm.

Usage

recovery.icm(dat, at)

Value

The updated icm_dat class main data object.

Arguments

dat

Main icm_dat class data object passed through icm simulations.

at

Current time step.