Description Usage Arguments Value
View source: R/equilibrium_birth_death_sampling.R
Makes a draw of the lifespan (in days), given a current age
1 | conditional_lifespan(age, age_of_death, max_age = 89)
|
age |
Current age (days) |
age_of_death |
Equilibrium probability of death |
max_age |
Maximum age (in years, actual maximum is this + 364 days) |
A single conditioned lifespan draw
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.