Estimate survival probability based on Kaplan-Meier estimator for a single PS stratum
rwe_km(
dta_cur,
dta_ext = NULL,
n_borrow = 0,
pred_tps = NULL,
stderr_method = "naive"
)Estimation of survival probabilities at time pred_tps
Matrix of time and event from a PS stratum in the current study
Matrix of time and event from a PS stratum in the external data source
Number of subjects to be borrowed
Time points to be estimated (unique and sorted)
Method for computing StdErr (available for naive only)