Prepares a wide-format dataframe summarizing AE by grade and group.
desc_ei_per_grade_prepare_df(
augmented_df_pat_grp,
augmented_df_pat_grade_grp,
digits = 1
)A dataframe in wide format with AE counts and percentages by grade and group.
A dataframe with patient IDs and groups, including a "Any grade" group.
A dataframe with patient IDs, grades, and groups.
Number of digits for percentages