Last data update: 2014.03.03

R: Estimates survival using Kaplan-Meier estimation
surv.km.baseR Documentation

Estimates survival using Kaplan-Meier estimation

Description

Estimates the probability of survival past some specified time using Kaplan-Meier estimation

Usage

surv.km.base(tl, dl, tt, weight.perturb = NULL)

Arguments

tl

observed event time of primary outcome, equal to min(T, C) where T is the event time and C is the censoring time.

dl

event indicator, equal to I(T<C) where T is the event time and C is the censoring time.

tt

the time of interest, function estimates the probability of survival past this time

weight.perturb

an optional weight matrix to be incorporated in estimation.

Value

estimate of survival at the specified time

Author(s)

Layla Parast

Results