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.8
Depends: R (≥ 4.4.0)
Imports: flextable, e1071, xtable
Suggests: officer, MASS
Published: 2024-04-30
DOI: 10.32614/CRAN.package.DemographicTable
Author: Tingting Zhan ORCID iD [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.8.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): DemographicTable_0.1.8.tgz, r-oldrel (arm64): DemographicTable_0.1.7.tgz, r-release (x86_64): DemographicTable_0.1.8.tgz, r-oldrel (x86_64): DemographicTable_0.1.7.tgz
Old sources: DemographicTable archive


Please use the canonical form to link to this page.