Learn R Programming

compareGroups (version 4.10.1)

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

10,436

Version

4.10.1

License

GPL (>= 2)

Maintainer

Isaac Subirana

Last Published

October 29th, 2025

Functions in compareGroups (4.10.1)

printTable

'Nice' table format.
export2xls

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

Update p values according multiple comparisons
export2latex

Exporting descriptives table to LaTeX format
export2html

Exporting descriptives table to HTML format
export2md

Exporting descriptives table to Markdown format
export2word

Exports tables to Word files.
missingTable

Table of missingness counts by groups.
getResults

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

Exports tables to PDF files.
varinfo

Variable names and labels extraction
report

Report of descriptive tables and plots.
strataTable

Stratify descriptive table in stratas.
regicor

REGICOR cross-sectional data
radiograph

Lists the values in the data set.
compareGroups-internal

Internal compareGroups functions
cGroupsGUI

Graphical user interface based on tcltk tools
compareGroups-package

Descriptive analysis by groups
SNPs

SNPs in a case-control study
cGroupsWUI

Web User Interface based on Shiny tools.
compareGroups

Descriptives 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
createTable

Table of descriptives by groups: bivariate table