Learn R Programming

compareGroups (version 4.10.2)

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

4,931

Version

4.10.2

License

GPL (>= 2)

Maintainer

Isaac Subirana

Last Published

January 8th, 2026

Functions in compareGroups (4.10.2)

cGroupsWUI

Web User Interface based on Shiny tools.
compareGroups-internal

Internal compareGroups functions
SNPs

SNPs in a case-control study
cGroupsGUI

Graphical user interface based on tcltk tools
getResults

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

Update p values according multiple comparisons
printTable

'Nice' table format.
export2md

Exporting descriptives table to Markdown format
export2word

Exports tables to Word files.
missingTable

Table of missingness counts by groups.
export2xls

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

Exporting descriptives table to HTML format
varinfo

Variable names and labels extraction
strataTable

Stratify descriptive table in stratas.
report

Report of descriptive tables and plots.
export2pdf

Exports tables to PDF files.
export2latex

Exporting descriptives table to LaTeX format
radiograph

Lists the values in the data set.
regicor

REGICOR cross-sectional data
createTable

Table of descriptives by groups: bivariate table
compareSNPs

Summarise genetic data by groups.
descrTable

Perform descriptives and build the bivariate table.
export2csv

Exporting descriptives table to plain text (CSV) format
compareGroups-package

Descriptive analysis by groups
compareGroups

Descriptives by groups