View source: R/infected_population.R
| infected_population_matrix | R Documentation |
a function that returns a matrix of the infected population for a given birthcohort
infected_population_matrix(
incidence_mat,
base_mortality_mat,
time_step,
susceptible,
pmtct_birthcount,
cumulative_infected_survival
)
incidence_mat |
associated incidence rates |
base_mortality_mat |
associated excess mortality survivial rates the probability of surving infection or death in the susceptible state |
time_step |
the time or age difference between to consecutive times or ages the probability of surving infection or death in the susceptible statemi.e it is uniform in all values supplied |
susceptible |
the susceptible population counts |
pmtct_birthcount |
number of newborns infected |
cumulative_infected_survival |
the survival probability of being aged a at time t having been infected for tau years. |
returns an matrix of dimensions time t , age a and time since infection - tau
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.