Description Usage Arguments Examples
If the top row of a header column is blank,
you may experience printing issues when using knitr
::kable
1 2 3 |
x |
|
label |
string vector including text to appear above the label column |
stat_by |
string vector of text to include above the summary statistics
stratified by a variable. The following fields are available for use in the
headers: |
stat_overall |
string vector including text to appear above the overall summary
statistics. |
pvalue |
string vector including text to appear above the p-value column |
... |
further arguments passed to or from other methods |
1 | trial %>% fmt_table1(by = "trt") %>% modify_header(stat_by = c("{level}", "N = {n} ({p}%)"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.