View source: R/module.departure.R
departure_mig2 | R Documentation |
Module function for simulating both general and disease-related departures, including deaths, among population members. In this function we use two departure rates: one for population 1 and another for population 2.
departure_mig2(dat, at)
dat |
Master list object containing a |
at |
Current time step. |
Deaths are divided into two categories: general deaths, for which demographic data on age-specific mortality rates applies; and AIDS-mortality rate.
This function returns the updated dat
object accounting for deaths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.