Description Usage Arguments Value Author(s)
Calculate the survival function, either the predictable one S(t^-) using survKM_minus
or S(t) using survKM_exact
.
1 2 3 | survKM_minus(v, survival, delta)
survKM_exact(v, survival, delta)
|
v |
Time vector to give the corresponding survival functions. |
survival |
Input follow-up times. |
delta |
Input event indicators. |
survKM_minus
returns the predictable one S(t^-), and survKM_exact
returns S(t).
Lili Wang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.