Called in analyze_subgroup() <– SG_tab_estimates
Arguments
- Y
Numeric vector of outcome.
- E
Numeric vector of event indicators.
- Treat
Numeric vector of treatment indicators.
- Strata
Vector of strata (optional).
- use_strata
Logical. Whether to use strata in the model (default: TRUE if Strata provided).
- return_format
Character. "formatted" (default) or "numeric" for downstream use.