Description Usage Arguments Details Value
Module function for simulting both general and disease-related deaths among population members.
1 | deaths_msm(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.
Which nodes have died is determined stochastically for general deaths using
draws from a binomial distribution, and deterministically for disease-related
deaths after nodes have reach a maximum viral load value set in the
vl.fatal
parameter.
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.