adjusted.LR: Adjusted Log-Rank Test

View source: R/adjustedLR.R

adjusted.LRR Documentation

Adjusted Log-Rank Test

Description

Performs an adjusted log-rank test considering weights.

Usage

adjusted.LR(times, failures, variable, weights = NULL)

Arguments

times

A numeric vector of survival times.

failures

A binary vector indicating event occurrence.

variable

A numeric binary variable (0 and 1) indicating group membership.

weights

A numeric vector of weights.

Value

A list containing the test statistic and p-value.


jskm documentation built on April 3, 2025, 8:56 p.m.