groups_list_to_df: Convert list of groups to a data frame
Description
This converts a list of group levels into a data frame format which is expected by rtables::add_combo_levels().
Usage
groups_list_to_df(groups_list)
Value
A tibble in the required format.
Arguments
groups_list
(named list of character) specifies the new group levels via the names and the
levels that belong to it in the character vectors that are elements of the list.