Description Usage Arguments Value Examples
View source: R/surdiff_p.value.R
Extract P Value after survdiff() function
1 | survdiff_p.value(survdiff)
|
survdiff |
the results of survdiff() function |
p value
1 2 3 | library(survival)
diff_result=survdiff(Surv(qsec,vs)~cyl,data=mtcars)
survdiff_p.value(diff_result)
|
Loading required package: survC1
Loading required package: survival
[1] 0.7381672
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.