excl.samples: Exclude samples

Description Usage Arguments Value Warning Author(s)

Description

Time-dependent ROC curves could be plotted based on different survival time points at which an event has occurred. To this end, censored patients should be excluded so that the plot could be based on the time points at which an event has occurred.

Usage

1
excl.samples(test.ind, surv, censor)

Arguments

test.ind

Vector of testing set index.

surv

Vector of survival time.

censor

Vector of censoring status. In the censoring status vector, 1 = event occurred, 0 = censored.

Value

Index of survival time points of the patients in the testing set who have experienced an event.

Warning

This function is not called by the user directly.

Author(s)

Haleh Yasrebi


survJamda documentation built on May 1, 2019, 8:50 p.m.