View source: R/km_wlr_calculations_helpers.R
| wlr_cumulative | R Documentation |
Calculates cumulative weighted log-rank statistics for survival data.
wlr_cumulative(
df_weights,
scheme,
scheme_params = list(rho = 0, gamma = 0),
return_cumulative = FALSE
)
df_weights |
Data frame with weights and risk/event counts. |
scheme |
Weighting scheme. |
scheme_params |
List of scheme parameters. |
return_cumulative |
Logical; whether to return cumulative statistics. |
List with score and variance.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.