redist: Calculation of Efron's re-distribution to the right algorithm...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/redist.R

Description

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

Usage

1
redist(time, status)

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.

Value

Calculations needed to

Author(s)

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

See Also

prodlim

Examples

1
redist(time=c(.35,0.4,.51,.51,.7,.73),status=c(0,1,1,0,0,1))

prodlim documentation built on May 29, 2017, 5:59 p.m.

Search within the prodlim package
Search all R packages, documentation and source code