View source: R/calc_gompertz.R
calc_gompertz_survival_probability | R Documentation |
Calculating Gompertz survival probability
calc_gompertz_survival_probability(
current_age,
target_age,
mode,
dispersion,
max_age = NULL
)
current_age |
Current age |
target_age |
Target age |
mode |
Mode of the Gompertz distribution |
dispersion |
Dispersion of the Gompertz distribution |
max_age |
Maximum age. Defaults to |
A numeric. The probability of survival from 'current_age' to 'target_age' based on the Gompertz distribution with the given parameters.
calc_gompertz_survival_probability(
current_age = 65,
target_age = 85,
mode = 80,
dispersion = 10
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.