extract_survival_subgroups function

Prepare survival data for population subgroups in data frames