Plots weighted Kaplan-Meier survival curves for a specified subgroup and its complement using the weightedsurv package.
Arguments
- df.sub
A data frame containing data for the subgroup of interest.
- df.subC
A data frame containing data for the complement subgroup.
- by.risk
Numeric. The risk interval for plotting (passed to
weightedsurv::df_counting).- confs_labels
Named character vector. Covariate label mapping (not used directly in this function, but may be used for labeling).
- this.1_label
Character. Label for the subgroup being plotted.
- top_result
Data frame row. The top subgroup result row, expected to contain a
Pconscolumn for consistency criteria.