Skip to contents

Delegates 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")
)

Arguments

time, event, group

Vectors.

weight

One of "logrank", "peto", "gehan", "tarone".