rwe_lrk: Log-rank Estimation

View source: R/psrwe_survlrk.R

rwe_lrkR Documentation

Log-rank Estimation

Description

Estimate log-rank estimates for a single PS stratum

Usage

rwe_lrk(
  dta_cur,
  dta_ext,
  dta_cur_trt,
  n_borrow = 0,
  pred_tps = NULL,
  stderr_method = "naive"
)

Arguments

dta_cur

Matrix of time and event from a PS stratum in current study (control arm only)

dta_ext

Matrix of time and event from a PS stratum in external data source (control arm only)

dta_cur_trt

Matrix of time and event from a PS stratum in current study (treatment arm only)

n_borrow

Number of subjects to be borrowed

pred_tps

All time points of events (unique and sorted)

stderr_method

Method for computing StdErr (available for naive only)

Value

Estimation of log-rank estimates at time pred_tps


olssol/psrwe documentation built on July 17, 2024, 4:06 p.m.