prodlim (version 2019.11.13)

redist: Calculation of Efron's re-distribution to the right algorithm to obtain the Kaplan-Meier estimate.

Description

Calculation of Efron's re-distribution to the right algorithm to obtain the Kaplan-Meier estimate.

Usage

redist(time, status)

Value

Calculations needed to

Arguments

time

A numeric vector of event times.

status

The event status vector takes the value 1 for observed events and the value 0 for right censored times.

Author

Thomas A. Gerds <tag@biostat.ku.dk>

See Also

prodlim

Examples

Run this code
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 DataCamp Workspace