compareGroups: Descriptive Analysis by Groups

Create data summaries for quality control, extensive reports for exploring data, as well as publication-ready univariate or bivariate tables in several formats (plain text, HTML,LaTeX, PDF, Word or Excel. Create figures to quickly visualise the distribution of your data (boxplots, barplots, normality-plots, etc.). Display statistics (mean, median, frequencies, incidences, etc.). Perform the appropriate tests (t-test, Analysis of variance, Kruskal-Wallis, Fisher, log-rank, ...) depending on the nature of the described variable (normal, non-normal or qualitative). Summarize genetic data (Single Nucleotide Polymorphisms) data displaying Allele Frequencies and performing Hardy-Weinberg Equilibrium tests among other typical statistics and tests for these kind of data.

Version: 3.2.4
Depends: R (≥ 2.13.1), Hmisc, gdata, xtable, SNPassoc
Imports: survival, epitools, tools, HardyWeinberg, rmarkdown, knitr
Suggests: tcltk2, car, shiny, shinyBS, shinyjs, DT, xlsx
Published: 2017-03-14
Author: Isaac Subirana, Joan Vila, Héctor Sanz, Gavin Lucas, Judith Peñafiel and David Giménez
Maintainer: Isaac Subirana <isubirana at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Citation: compareGroups citation info
In views: ReproducibleResearch
CRAN checks: compareGroups results


Reference manual: compareGroups.pdf
Vignettes: compareGroups 3.0: Descriptives by groups
Package source: compareGroups_3.2.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Mavericks binaries: r-release: compareGroups_3.2.4.tgz, r-oldrel: compareGroups_3.2.4.tgz
Old sources: compareGroups archive

Reverse dependencies:

Reverse suggests: ImportExport


Please use the canonical form to link to this page.