This function takes an object x and summarises the outcomes by grouping by s, outcome, and age_group, then calculates the total number of cases.

summarise_outcomes(x)

Arguments

x

An object containing the outcomes data.

Value

A data frame with the total number of cases grouped by s, outcome, and age_group.