Description Usage Arguments Value
compute log-rank test comparing two or more survival curves.
1 | log_rank_test(model, covariate, dataset = veteran)
|
model |
a Surv(time, status) object |
covariate |
it can be 1 if all covariates are included, or it can be a single covariate |
dataset |
it is the dataset we use |
a summary of the log rank test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.