get.surv.km {nricens} | R Documentation |
Calculate a survival probability at a given time by the standard Kaplan-Meier estimator.
Description
This function estimates Pr\{T > t_0\}
by the Kaplan-Meier
estimator. t_0
should be given.
Usage
get.surv.km(time, event, t0, subs = NULL)
Arguments
time |
Vector of follow up times. |
event |
Vector of event indicators, 1 for event of interest, 0 for censoring. |
t0 |
Scalar value indicating a time to determine evnet/non-event ( |
subs |
Vector of logical values to determine which subjects to be used for
a calculation. When this option is not specified
( |
[Package nricens version 1.6 Index]