apply_shift: Apply a time shift to a survival distribution
Description
Apply a time shift to a survival distribution
Usage
apply_shift(dist, shift)
Value
A surv_shift object.
Arguments
dist
A survival distribution.
shift
A time shift to be applied.
Details
A positive shift moves the fit backwards in time. That is,
a shift of 4 will cause time 5 to be evaluated as time 1, and so on.
If shift == 0, dist is returned unchanged.