View source: R/df_counting_helpers.R
| extract_group_data | R Documentation |
Extracts time, event, and weight vectors for a specified group.
extract_group_data(time, delta, wgt, z, group = 1)
time |
Numeric vector of times. |
delta |
Numeric vector of event indicators (1=event, 0=censored). |
wgt |
Numeric vector of weights. |
z |
Numeric vector of group indicators. |
group |
Value of group to extract (default 1). |
List with U (times), D (events), W (weights).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.