Estimate Mortality Probabilities from a Survival Curve
Source:R/adjust_survival_curve.R
get_lifeTable_mortality_probs.Rd
This function estimates the mortality probabilities from a given cumulative survival curve. The survival curve represents the probability of beyond each time point or age.
Examples
if (FALSE) { # \dontrun{
mortality_probs <- c(0.01, 0.02, 0.03, 0.04)
survival_curve <- get_lifeTable_survival_curve(mortality_probs)
estimated_mortality_probs <- get_lifeTable_mortality_probs(survival_curve)
estimated_mortality_probs
} # }