View source: R/df_counting_helpers.R
| get_censoring_and_events | R Documentation |
Extracts censoring and event times and their indices for a group at specified time points.
get_censoring_and_events(time, delta, z, group, censoring_allmarks, at_points)
time |
Numeric vector of times. |
delta |
Numeric vector of event indicators. |
z |
Numeric vector of group indicators. |
group |
Value of group to extract. |
censoring_allmarks |
Logical; if FALSE, remove events from censored. |
at_points |
Numeric vector of time points. |
List with cens (censored times), ev (event times), idx_cens, idx_ev, idx_ev_full.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.