Description Usage Arguments Value See Also
Plots the survival curves and compute the Cox p-value using the package survival.
1 2 | analyze_survival(survival_time, death_status, patients_partition,
return = FALSE, no_plot = FALSE)
|
survival_time |
the follow-up time of the patients. |
death_status |
integer, 0 = alive, 1 = dead |
patients_partition |
a partition of the patients |
return |
logical, TRUE to return the cox p-value |
no_plot |
logical, set to TRUE to avoid plotting and return the cox p-value. |
the cox p-value (if return or no_plot is TRUE).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.