View source: R/susceptible_cumulative_survival.R
susceptible_cumulative_survival_vector | R Documentation |
a function that returns a matrix of cumulative probabilities of survival -i.e. not dying and aquiring infection - for each age and time step of the simulation
susceptible_cumulative_survival_vector(
incidence_vector,
base_mortality_vector,
time_step
)
incidence_vector |
vector of incidence rates for specified ages and times |
base_mortality_vector |
vector of natural mortality rates for specified ages and times |
time_step |
the time step between consecurtive dates or the length of the time between date of births of cohorts |
a vector of cumulative probabilities (from birth till age a at time t) of surviving in the susceptible population without being infected or dying from natural death . Values stored in the matrix are numeric-double, from 0-1, which represent the probability of surviving a specified age from birth in the susceptible population.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.