DemographicTable: Creating Demographic Table

Functions for creating demographic table with simple summary statistics, with optional comparison(s) over one or more groups. Numeric variables are summarized in means, standard deviations, medians, inter-quartile-ranges (IQR), skewness, Shapiro-Wilk normality test and ranges, and compared using two-sample t-test, Wilcoxon test, ANOVA and/or Kruskal-Wallis test. Logical and factor variables are summarized in counts and percentages and compared using chi-squared test and/or Fisher's exact test.

Version: 0.1.5
Depends: R (≥ 4.2.0)
Imports: flextable, e1071, xtable
Suggests: officer, MASS
Published: 2022-06-24
Author: Tingting Zhan [aut, cre, cph]
Maintainer: Tingting Zhan <tingtingzhan at>
License: GPL-2
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: DemographicTable results


Reference manual: DemographicTable.pdf


Package source: DemographicTable_0.1.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): DemographicTable_0.1.5.tgz, r-oldrel (arm64): DemographicTable_0.1.1.tgz, r-release (x86_64): DemographicTable_0.1.4.tgz, r-oldrel (x86_64): DemographicTable_0.1.1.tgz
Old sources: DemographicTable archive


Please use the canonical form to link to this page.