Extracts hazard ratios from DGM object, supporting both old and new formats. Also supports CDE (controlled direct effect) extraction for Table 5 of Leon et al. (2024) alignment (theta-ddagger).
get_dgm_hr(dgm, which = "hr_H")Numeric hazard ratio value
DGM object (gbsg_dgm or aft_dgm_flex)
Character. Which HR to extract: "hr_H", "hr_Hc",
"ahr_H", "ahr_Hc", "hr_overall", "ahr",
"cde_H", "cde_Hc", "cde".