Combines tidy result tibbles from multiple analyses (e.g., different endpoints or subgroups) into a single table with an identifying column.
Arguments
- ...
Named arguments where each is a tidy result tibble from
tidy_pool_obj().- results_list
Alternative to
...: a named list of tidy result tibbles.- id_col
Character string specifying the name of the identifier column. Default is "analysis".
Value
A tibble with all results combined, with an additional column identifying the source analysis.
See also
tidy_pool_obj()to create tidy results from pooled objectsformat_results()to format combined results for reporting
Examples
# \donttest{
library(rbmi)
library(dplyr)
# Assuming you have multiple pooled results
# results_week24 <- tidy_pool_obj(pool_obj_week24)
# results_week48 <- tidy_pool_obj(pool_obj_week48)
# Combine them
# combined <- combine_results(
# "Week 24" = results_week24,
# "Week 48" = results_week48
# )
# }