KM {survidm} | R Documentation |
Kaplan-Meier product-limit estimate of survival
Description
This function provides survival estimates using the product-limit Kaplan-Meier estimator.
Usage
KM(time, status, t)
Arguments
time |
Survival time of the process. |
status |
Censoring indicator of the survival time of the process; 0 if the survival time is censored and 1 otherwise. |
t |
The time for obtaining survival estimates. |
Author(s)
Luis Meira-Machado, Marta Sestelo and Gustavo Soutinho.
References
E. Kaplan and P. Meier. Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53:457-481, 1958.
See Also
Examples
require(survival)
obj <- with(colonIDM, survIDM(time1, event1, Stime, event))
KM(time = obj$Stime, status = obj$event, t = 1095)
fit <- survfit(Surv(obj$Stime, obj$event) ~ 1, data = obj)
summary(fit, time = 1095)$surv
[Package survidm version 1.3.2 Index]