hazards.fun function

Compute the estimated (baseline/cumulative) hazard and (baseline) survival functions