Creates comprehensive output including formatted table with subgroup footnote, diagnostic plots, bootstrap quality metrics, and detailed timing analysis.
summarize_bootstrap_results(
sgharm,
boot_results,
create_plots = FALSE,
est.scale = "hr"
)List with components:
gt table with treatment effects and subgroup footnote
List of bootstrap quality metrics
gt table of diagnostics
List of ggplot2 diagnostic plots (if create_plots=TRUE)
List of timing analysis (if timing data available)
List from summarize_bootstrap_subgroups()
The selected subgroup object from forestsearch results. Can be:
Character vector of factor definitions (e.g., c("{age>=50}", "{nodes>=3}"))
List with sgharm element containing factor definitions
List with sg.harm_label element (human-readable labels)
List. Output from forestsearch_bootstrap_dofuture()
Logical. Generate diagnostic plots (default: FALSE)
Character. "hr" or "1/hr" for effect scale
The table output includes a footnote displaying the identified subgroup
definition, analogous to the tab_estimates table from sg_tables.
This is achieved by extracting the subgroup definition from sgharm and
passing it to format_bootstrap_table.
format_bootstrap_table for table creation
sg_tables for analogous main analysis tables
summarize_bootstrap_subgroups for subgroup stability analysis