Skip to contents

Replaces 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.

Usage

svycph_set_basehaz(fit_fused, h0)

Arguments

fit_fused

A svycph_fused object from svycph_fuse().

h0

A data frame returned by weighted_basehaz().

Value

The modified fused object with weighted baseline hazard.