This function estimates \(Pr\{T > t_0\}\) by the Kaplan-Meier estimator. \(t_0\) should be given.
get.surv.km(time, event, t0, subs = NULL)
Vector of follow up times.
Vector of event indicators, 1 for event of interest, 0 for censoring.
Scalar value indicating a time to determine evnet/non-event (\(t_0\)).
Vector of logical values to determine which subjects to be used for
a calculation. When this option is not specified
(subs = NULL
), all subjects are used for a calculation.