Description Usage Arguments Examples
Calculate the p-value for differnces in KM curves from survdiff() function
1 | calc_KMcurve_pvalues(survdiff, digits = 3)
|
survdiff |
the results from survival::survdiff() |
digits |
a numeric value of the number of digits for the p-value |
1 2 | diff <- survival::survdiff(survival::Surv(time, status) ~ x, data = survival::aml)
calc_KMcurve_pvalues(diff)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.