| rwe_km | R Documentation |
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"
)
dta_cur |
Matrix of time and event from a PS stratum in current study |
dta_ext |
Matrix of time and event from a PS stratum in external data source |
n_borrow |
Number of subjects to be borrowed |
pred_tps |
Time points to be estimated (unique and sorted) |
stderr_method |
Method for computing StdErr (available for naive only) |
Estimation of survival probabilities at time pred_tps
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.