Sample from conditional distribution estimated by Kaplan-Meier estimator. Imputed values > tmax are right-censored.
sampleFromCondKM(U, fit, tmax = NULL, dv = 1, f = NULL)vector of observed times
Kaplan-Meier fit as returned by survfit
largest observation of the pooled sample
1 if imputing events, 0 if imputing censoring times
interpolated Kaplan-Meier estimate
Random sample of survival times drawn from conditional distribution of T given T > U