View source: R/wedge_excess_mortality_array.R
wedge_excess_mortality_matrix | R Documentation |
a function that returns a matrix of probabilities of mortality for each age and time step of the simulation
wedge_excess_mortality_matrix(
n_age_steps,
list_of_times,
time_step,
excess_mortality
)
n_age_steps |
the optimal age each birth cohort is reaches |
list_of_times |
a numeric vector of length min:max; indicates the range of ages to be included in simulation. Note that date format is not used. |
time_step |
the time step between consecurtivelist_of_birth_times |
excess_mortality |
the excess mortality function |
returns an array of dimensions time, age and time since infection - tau, which is essentially the probability of surviving in the given time space.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.