Description Usage Arguments Value Examples
View source: R/format_raw_tabs.R
Augment a raw number at risk table with the necessary information to run the reconstruction algorithm.
1 | format_raw_tabs(raw_NAR, raw_surv, tau = NULL)
|
raw_NAR |
A data frame with the columns 'time' and NAR' at least. |
raw_surv |
A data frame with the columns 'time' and 'survival' at least. |
tau |
End of follow-up time, defaults to last time in NAR table. |
A list with aug_NAR and aug_surv, properly cleaned tables that can be used as input in KM_reconstruct().
1 2 3 | data(pembro_clicks)
data(pembro_NAR)
augTabs <- format_raw_tabs(raw_NAR=pembro_NAR, raw_surv=pembro_clicks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.