Description Usage Arguments Details Value
View source: R/mod.departure.R
Module function for simulting both general and disease-related departures, including deaths, among population members.
1 2 3 | departure_msm(dat, at)
deaths_het(dat, at)
|
dat |
Master data list object of class |
at |
Current time step. |
Deaths are divided into two categories: general deaths, for which demographic data on age-specific mortality rates applies; and disease-related diseases, for which the rate of death is a function of progression to end-stage AIDS.
This function returns the updated dat
object accounting for deaths.
The deaths are deactivated from the main and casual networks, as those are in
networkDynamic
class objects; dead nodes are not deleted from the
instant network until the simnet_msm
module for bookkeeping
purposes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.