rwe_km: Kaplan-Meier Estimation

View source: R/psrwe_survkm.R

rwe_kmR Documentation

Kaplan-Meier Estimation

Description

Estimate survival probability based on Kaplan-Meier estimator for a single PS stratum

Usage

rwe_km(dta_cur, dta_ext = NULL, n_borrow = 0, pred_tp = 1)

Arguments

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_tp

Time points to be estimated

Value

Estimation of survival probabilities at time pred_tps


psrwe documentation built on March 18, 2022, 5:33 p.m.