KM_reconstruct {reconstructKM}R Documentation

Reconstruct digitized Kaplan-Meier curves and generate invididual patient data

Description

Reconstruct individual-level data from augmented survival table and augmented NAR table, with augmentation performed by format_raw_tabs().

Usage

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().

Value

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)


[Package reconstructKM version 0.3.0 Index]