This function estimates Pr\{T > t_0\} by the Kaplan-Meier estimator. t_0 should be given.
1 | get.surv.km(time, event, t0, subs = NULL)
|
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 (t_0). |
subs |
Vector of logical values to determine which subjects to be used for
a calculation. When this option is not specified
( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.