Skip to contents

Integrates the Kaplan-Meier estimator from 0 to tau using trapezoidal integration on the step-function. SE follows the Klein-Moeschberger formula (approximation matches the Python module).

Usage

morie_survival_rmst(time, event, tau = NULL, confidence = 0.95)

Arguments

time

Numeric vector of event/censoring times.

event

Integer/logical vector; 1 = event, 0 = censored.

tau

RMST truncation horizon (morie_survival_rmst/rmst_diff).

confidence

Confidence level for interval estimates (default 0.95).