Description Usage Arguments Value
parse the coxphP2() returned value to text so as to show OR, P and so on
1 | parse_coxphP2(x, type = "HR", digits = 2)
|
x |
results returned by coxphP2() |
type |
either OR from categorical variable or HR from continuous variable |
digits |
digits to keep in OR and CI |
a list of text string. i.e.
$coefExp_text
[1] "OR: 1.41"
$CI_text
[1] "CI: [0.88, 2.27]"
parse coxphP2 result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.