Table 1 : Summary of baseline demographics across treatment groups - Table Contest Submission

Table 1 : Summary of baseline demographics across treatment

Authors: Steve Boateng Ampah
Affiliations: University of Alabama

Abstract: "myTable1" function is a self-made function on my Github, dependent on the "latex" function in the rms package (by Frank Harrell) that can summarize variables across a categorical variable as means/standard deviations for continuous variables and counts/percents for categorical variables. It has the option to include P-values from these test: T-test, Wilcoxon Rank Sum test, ANOVA, Pearson's Chi-squared test, Fisher Exact test and Kruskal-Wallis test. There are two output options LaTeX to produce a PDF table output and an excel output that can be copied to an MS word document.

Full Description:


Table Type: static-print
Submission Type: Single Table Example
Table: https://github.com/BiostatsReportAutomation/Table1_R_Excel_Output/blob/master/produceTable1.pdf
Repo: https://raw.githubusercontent.com/BiostatsReportAutomation/Table1_R_Excel_Output/master/Table1Function.R
RStudio Cloud:
DT package used:
gt package used:
reactable package used:
flextable package used:
huxtable package used:
kableExtra package used:
Other packages: rms

1 Like