Per-Subject Membership Matrix for Pareto Frontier Members
Source:R/frontier_member_flags.R
frontier_member_flags.RdFor each candidate subgroup on
fs$grp.consistency$out_sg$pareto_frontier, returns a binary
indicator (one row per subject in fs$df.est, one column per
frontier member) marking which subjects belong to that subgroup.
Value
A list with three elements:
flagsInteger matrix of dimension
n_subjectsxn_frontier_members, with 1 = subject in subgroup, 0 = not.member_labelsCharacter vector of length
n_frontier_members, each entry the "cut1 & cut2 & ..." definition of that frontier member.is_selectedLogical vector of length
n_frontier_members, marking which member is the selected subgroup.
Details
This lets the user compute downstream quantities the frontier table does not surface directly: per-frontier-member sample sizes by covariate stratum, set comparisons between frontier members ("which subjects are in the selected subgroup but not on the runner-up?"), and survival summaries by frontier member.