Substitute weighted baseline hazard into a fused cph object
Source:R/svycph_fuse.R
svycph_set_basehaz.RdReplaces the baseline hazard estimate in a fused cph object with the
survey-weighted version from weighted_basehaz(), enabling
survplot() to produce design-correct survival curves.
Arguments
- fit_fused
A
svycph_fusedobject fromsvycph_fuse().- h0
A data frame returned by
weighted_basehaz().