Extracts operating characteristics (HRs, classification metrics, etc.) from ForestSearch analysis results. Aligned with new DGM output structure.
extract_fs_estimates(
df,
fs_res,
dgm,
cox_formula = NULL,
cox_formula_adj = NULL,
analysis = "FS",
fs_full = NULL,
verbose = FALSE
)data.table with extracted estimates including AHR metrics
Simulated data frame
ForestSearch result table (grp.consistency$out_sg$result, or NULL)
DGM object containing true HRs (supports both old and new formats)
Cox formula for estimation (optional)
Adjusted Cox formula (optional)
Analysis label (e.g., "FS", "FSlg")
Full forestsearch result object (for df.est access)
Logical. Print extraction details. Default: FALSE