Description Usage Arguments Examples
The adjustments to the p-values is performed with
stats::
p.adjust
. The default method for correction
is false discovery rate ("fdr"
)
1 2 3 | ## S3 method for class 'fmt_table1'
add_q(x, method = "fdr", pvalue_fun = fmt_pvalue,
...)
|
x |
|
method |
character argument. Methods from
|
pvalue_fun |
function for rounding/formatting p-values. Default is |
... |
further arguments passed to or from other methods |
1 | trial %>% fmt_table1(by = "trt") %>% add_comparison() %>% add_q()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.