Learn R Programming

compareGroups (version 4.10.3)

Descriptive Analysis by Groups

Description

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.

Copy Link

Version

Install

install.packages('compareGroups')

Monthly Downloads

1,704

Version

4.10.3

License

GPL (>= 2)

Maintainer

Isaac Subirana

Last Published

August 28th, 2026

Functions in compareGroups (4.10.3)

compareGroups-internal

Internal compareGroups functions
SNPs

SNPs in a case-control study
cGroupsWUI

Web User Interface based on Shiny tools.
createTable

Table of descriptives by groups: bivariate table
compareGroups

Descriptives by groups
padjustCompareGroups

Update p values according multiple comparisons
export2html

Exporting descriptives table to HTML format
export2xls

Exporting descriptives table to Exel format (.xlsx or .xls)
getResults

Easily retrieve summary data as R-objects (matrices and vectors).
export2pdf

Exports tables to PDF files.
export2word

Exports tables to Word files.
printTable

'Nice' table format.
export2md

Exporting descriptives table to Markdown format
missingTable

Table of missingness counts by groups.
report

Report of descriptive tables and plots.
varinfo

Variable names and labels extraction
export2latex

Exporting descriptives table to LaTeX format
regicor

REGICOR cross-sectional data
radiograph

Lists the values in the data set.
strataTable

Stratify descriptive table in stratas.
cGroupsGUI

Graphical user interface based on tcltk tools
compareGroups-package

Descriptive analysis by groups
compareSNPs

Summarise genetic data by groups.
descrTable

Perform descriptives and build the bivariate table.
export2csv

Exporting descriptives table to plain text (CSV) format