stretch: Assigns Survival Estimates to Each Day of the Follow-up
Description
This is an internal function and is not usually called by user.
This function assigns survival estimates to each day of the follow-up.
Usage
stretch(S, maxx)
Arguments
S
a list containing:
x - the time points in which the survival curve has a step
y - survival estimates at the time points in which the survival curve has a step
maxx
maximum follow-up time in days
Value
a list containing the following elements:
x
days from 0 to maximum follow-up time maxx
y
survival estimates at each day
References
Pavlik T., Janousova E., Pospisil Z., et al. (2011). Estimation of current cumulative incidence of leukaemia-free patients and current leukaemia-free survival in chronic myeloid leukaemia in the era of modern pharmacotherapy. BMC Med Res Methodol11:140.