Internaly used function by nricens
to provide the NRI estimator
by the Kaplan-Meier(KM) method.
In the comparison for time to event models, it is possible to use
directly when UP
and DOWN
subjects are known.
1 | nricens.km.main(time, event, upp, dwn, t0)
|
time |
Vector of follow up times. |
event |
Vector of event indicators, 1 for event of interest, 0 for censoring. |
upp, dwn |
Vectors of logical values to determine subjects who belong to
|
t0 |
Scalar value indicating a time to determine evnet/non-event. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.