Description Usage Arguments Details Examples
Takes vectors of event time and event type and turns it into the internal
objects used throughout the package. The result of this function shouldn't be
used directly, but should instead by provided as the y
parameter in
train
.
1 | CR_Response(delta, u, C = NULL)
|
delta |
A vector of integers detailing the event that occurred. A value of 0 denotes that censoring occurred first and that time was recorded. |
u |
A numeric vector detailing the recorded event times (possibly censored). |
C |
If the censoring times are known for all observations, they can be
included which allows for |
To be clear, if T1,...TJ are the J different competing risks, and C
is the censoring time, then u[i] = min(T1[i], ...TJ[i], C[i])
; and
delta[i]
denotes which time was the minimum, with a value of 0 if
C[i] was the smallest.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.