| perform_survival_test | R Documentation |
Performs statistical test comparing survival curves across groups.
perform_survival_test(surv_obj, group_var, test_type)
surv_obj |
Survival object created by Surv(). |
group_var |
Vector of group assignments. |
test_type |
Character string specifying test type. |
List with test statistic, p-value, and test type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.