adjusted.LR {jskm}R 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.


[Package jskm version 0.5.13 Index]