Learn R Programming

compareGroups (version 4.10.0)

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

2,684

Version

4.10.0

License

GPL (>= 2)

Maintainer

Isaac Subirana

Last Published

August 19th, 2025

Functions in compareGroups (4.10.0)

getResults

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

Update p values according multiple comparisons
printTable

'Nice' table format.
missingTable

Table of missingness counts by groups.
export2word

Exports tables to Word files.
export2md

Exporting descriptives table to Markdown format
export2xls

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

Exports tables to PDF files.
export2latex

Exporting descriptives table to LaTeX format
varinfo

Variable names and labels extraction
radiograph

Lists the values in the data set.
regicor

REGICOR cross-sectional data
report

Report of descriptive tables and plots.
strataTable

Stratify descriptive table in stratas.
export2html

Exporting descriptives table to HTML format
compareSNPs

Summarise genetic data by groups.
cGroupsWUI

Web User Interface based on Shiny tools.
compareGroups-package

Descriptive analysis by groups
SNPs

SNPs in a case-control study
export2csv

Exporting descriptives table to plain text (CSV) format
descrTable

Perform descriptives and build the bivariate table.
compareGroups

Descriptives by groups
createTable

Table of descriptives by groups: bivariate table
compareGroups-internal

Internal compareGroups functions
cGroupsGUI

Graphical user interface based on tcltk tools