adjusted.LR | R Documentation |
Performs an adjusted log-rank test considering weights.
adjusted.LR(times, failures, variable, weights = NULL)
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. |
A list containing the test statistic and p-value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.