Skip to contents

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)

Arguments

dat

Main icm_dat class data object passed through icm simulations.

at

Current time step.

Value

The updated icm_dat class main data object.