table1_pval | R Documentation |
This function calculates statistics and prints results in a table generated with table1()
. For categorical data
chi² test is used, for numerical data Welch ANOVA is conducted
table1_pval(
data,
strat,
vars,
footnote = NULL,
html = TRUE,
white.adjust = TRUE,
...
)
data |
data.frame or data.table containing patient characteristics and demographics |
strat |
strata to group by |
vars |
character vector specifying columns that shall be included in the table |
footnote |
A character string to be added as a footnote to the table.
Can also be a vector which results in multiple lines of footnotes.
The default |
html |
logical indicating whether output should include html characters or not |
white.adjust |
Default is FALSE. If TRUE, heteroscedasticity correction is applied to the coefficient of covariance matrix. Used only for independent measures ANOVA. |
... |
additional arguments passed on to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.