Learn R Programming

compareGroups (version 4.10.4)

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,880

Version

4.10.4

License

GPL (>= 2)

Maintainer

Isaac Subirana

Last Published

September 24th, 2026

Functions in compareGroups (4.10.4)

export2latex

Exporting descriptives table to LaTeX format
padjustCompareGroups

Update p values according multiple comparisons
export2word

Exports tables to Word files.
export2xls

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

'Nice' table format.
missingTable

Table of missingness counts by groups.
export2html

Exporting descriptives table to HTML format
export2md

Exporting descriptives table to Markdown format
export2pdf

Exports tables to PDF files.
getResults

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

Lists the values in the data set.
report

Report of descriptive tables and plots.
strataTable

Stratify descriptive table in stratas.
varinfo

Variable names and labels extraction
regicor

REGICOR cross-sectional data
compareGroups-package

Descriptive analysis by groups
export2csv

Exporting descriptives table to plain text (CSV) format
cGroupsWUI

Web User Interface based on Shiny tools.
cGroupsGUI

Graphical user interface based on tcltk tools
compareSNPs

Summarise genetic data by groups.
compareGroups

Descriptives by groups
SNPs

SNPs in a case-control study
createTable

Table of descriptives by groups: bivariate table
compareGroups-internal

Internal compareGroups functions
descrTable

Perform descriptives and build the bivariate table.