pwe_S.Rd
Calculate the survivor function S(t) from a piecewise exponential model.
pwe_S(time, cut.pts, haz.rates)
Time-point at which survivor fct is evaluated, S(time) = exp(-H(time)).
Vector of cut points.
Vector of hazard rates (must have one element more than the cut.pts vector).
numeric
estimate of survivor function at time t, S(t)