Description Usage Arguments Value Examples
get_logrank_res
is a wrapper over the survival::survdiff() function
return the direct results or the log rank p-value only if specified.
1 | get_logrank_res(in.formula, in.df, return.p = FALSE)
|
in.formula |
Survival model formula. Can extract from an existing survfit object with formula(survfit). |
in.df |
data.frame Corresponding data for the survival model. |
return.p |
If set to TRUE, return only the log rank p-value. |
Results of survdiff or a log rank p-value if return.p is set to TRUE.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.