powered by
Reconstruct individual-level data from augmented survival table and augmented NAR table, with augmentation performed by format_raw_tabs().
KM_reconstruct(aug_NAR, aug_surv)
A list including IPD_time, IPD_event, n_hat=n_hat, KM_hat, n_cen, n_event, int_censor
A data frame processed through format_raw_tabs().
data(pembro_NAR) data(pembro_clicks) augTabs <- format_raw_tabs(raw_NAR=pembro_NAR, raw_surv=pembro_clicks) KM_reconstruct(aug_NAR=augTabs$aug_NAR, aug_surv=augTabs$aug_surv)
Run the code above in your browser using DataLab