Log-rank family tests (logrank / Peto-Peto / Gehan / Tarone-Ware).
Source:R/survival.R
morie_survival_logrank.RdDelegates to survival::survdiff() for the standard log-rank weight (rho=0)
and Peto-Peto (rho=1). Gehan/Tarone-Ware are not supported by survdiff
directly and currently fall back to rho=1 (Peto) as the closest analogue;
use survival::survdiff(..., rho=1) plus FH weights for exact equivalents.
Usage
morie_survival_logrank(
time,
event,
group,
weight = c("logrank", "peto", "gehan", "tarone")
)