powered by
Calculation of Efron's re-distribution to the right algorithm to obtain the Kaplan-Meier estimate.
redist(time, status)
Calculations needed to
A numeric vector of event times.
The event status vector takes the value 1 for observed events and the value 0 for right censored times.
1
0
Thomas A. Gerds <tag@biostat.ku.dk>
prodlim
redist(time=c(.35,0.4,.51,.51,.7,.73),status=c(0,1,1,0,0,1))
Run the code above in your browser using DataLab