powered by
Augment a raw number at risk table with the necessary information to run the reconstruction algorithm.
format_raw_tabs(raw_NAR, raw_surv)
A list with aug_NAR and aug_surv, properly cleaned tables that can be used as input in KM_reconstruct().
A data frame with the columns 'time' and NAR' at least.
A data frame with the columns 'time' and 'survival' at least.
data(pembro_clicks) data(pembro_NAR) augTabs <- format_raw_tabs(raw_NAR=pembro_NAR, raw_surv=pembro_clicks)
Run the code above in your browser using DataLab