KM_reconstruct function

Reconstruct digitized Kaplan-Meier curves and generate invididual patient data

Reconstruct digitized Kaplan-Meier curves and generate invididual patient data

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)

Arguments

  • aug_NAR: A data frame processed through format_raw_tabs().
  • aug_surv: A data frame processed through format_raw_tabs().

Returns

A list including IPD_time, IPD_event, n_hat=n_hat, KM_hat, n_cen, n_event, int_censor

Examples

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)
  • Maintainer: Ryan Sun
  • License: GPL-3
  • Last published: 2020-11-25

Useful links