Compare Groups, Analytically and Graphically
Overview
Comprehensive data analysis software, and the name "cg" stands for "compare groups." Its genesis and evolution are driven by common needs to compare administrations, conditions, etc. in medicine research and development. The current version provides comparisons of unpaired samples, i.e. a linear model with one factor of at least two levels. It also provides comparisons of two paired samples. Good data graphs, modern statistical methods, and useful displays of results are emphasized.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-24
- ERROR12 OK, 1 ERROR2026-07-23
- OK14 OK2026-03-10
Documentation
- Help pages
- 92includes a package overview page
- Examples that run
- 100%88 run in a plain check
- Exported functions with examples
- 86%
- Documented parameters
- 100%
- Return-value docs
- 86%
- Help pages citing references
- 30%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest2014-02-10 · current release · diff ↗ ·
removed 1 export
pattern:print[.*]", "show[.*]", "summary[.*]", "boxplot[.*]", "diffGraph[.*]", "comparisonsGraph[.*]", "comparisonsTable[.*]", "descriptiveTable[.*]", "downweightedTable[.*]", "errorBarGraph[.*]", "fit[.*]", "globalTest[.*]", "grpSummaryTable[.*]", "kmGraph[.*]", "pointGraph[.*]", "qqGraph[.*]", "samplesizeGraph[.*]", "samplesizeTable[.*]", "showObj[.*]", "varianceGraph[.*]added 2 exports
prepareCGPairedDifferenceData, pattern:print[.*]", "show[.*]", "summary[.*]", "boxplot[.*]", "diffGraph[.*]", "comparisonsGraph[.*]", "comparisonsTable[.*]", "correlationTable[.*]", "descriptiveTable[.*]", "diffGraph[.*]", "downweightedTable[.*]", "errorBarGraph[.*]", "fit[.*]", "globalTest[.*]", "grpSummaryTable[.*]", "kmGraph[.*]", "pointGraph[.*]", "profileGraph[.*]", "qqGraph[.*]", "samplesizeGraph[.*]", "samplesizeTable[.*]", "showObj[.*]", "varianceGraph[.*]", "varianceTable[.*] - RR 3.0.0 released · 2013-04-03
- 2.15.32013-01-24 · diff ↗
Show 20 earlier eventsHide 20 earlier events
- 2.15.22012-08-13 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 2.15.02012-03-11 · diff ↗
- 2.14.12011-11-27 · diff ↗ ·
removed 1 export
pattern:print[.*]", "show[.*]", "boxplot[.*]", "comparisonsGraph[.*]", "comparisonsTable[.*]", "descriptiveTable[.*]", "downweightedTable[.*]", "errorBarGraph[.*]", "fit[.*]", "globalTest[.*]", "grpSummaryTable[.*]", "kmGraph[.*]", "pointGraph[.*]", "qqGraph[.*]", "samplesizeGraph[.*]", "samplesizeTable[.*]", "varianceGraph[.*]added 1 export
pattern:print[.*]", "show[.*]", "summary[.*]", "boxplot[.*]", "comparisonsGraph[.*]", "comparisonsTable[.*]", "descriptiveTable[.*]", "downweightedTable[.*]", "errorBarGraph[.*]", "fit[.*]", "globalTest[.*]", "grpSummaryTable[.*]", "kmGraph[.*]", "pointGraph[.*]", "qqGraph[.*]", "samplesizeGraph[.*]", "samplesizeTable[.*]", "showObj[.*]", "varianceGraph[.*] - RR 2.14.0 released · 2011-10-31
- 2.13.12011-06-26 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 2.12.22010-12-20 · diff ↗
- 1.0-42025-04-13 · diff ↗
- 1.0-32016-01-04 · diff ↗ ·
removed 1 export
pattern:print[.*]", "show[.*]", "summary[.*]", "boxplot[.*]", "diffGraph[.*]", "comparisonsGraph[.*]", "comparisonsTable[.*]", "correlationTable[.*]", "descriptiveTable[.*]", "diffGraph[.*]", "downweightedTable[.*]", "errorBarGraph[.*]", "fit[.*]", "globalTest[.*]", "grpSummaryTable[.*]", "kmGraph[.*]", "pointGraph[.*]", "profileGraph[.*]", "qqGraph[.*]", "samplesizeGraph[.*]", "samplesizeTable[.*]", "showObj[.*]", "varianceGraph[.*]", "varianceTable[.*]added 1 export
pattern:print[.*]", "boxplot[.*]", "summary[.*]", "show[.*]", "diffGraph[.*]", "comparisonsGraph[.*]", "comparisonsTable[.*]", "correlationTable[.*]", "descriptiveTable[.*]", "diffGraph[.*]", "downweightedTable[.*]", "errorBarGraph[.*]", "fit[.*]", "globalTest[.*]", "grpSummaryTable[.*]", "kmGraph[.*]", "pointGraph[.*]", "profileGraph[.*]", "qqGraph[.*]", "samplesizeGraph[.*]", "samplesizeTable[.*]", "showObj[.*]", "varianceGraph[.*]", "varianceTable[.*] - 1.0-22014-12-31 · diff ↗
- 1.0-12014-07-14 · diff ↗
- 1.0-02014-02-14 · diff ↗
- 0.9-62013-01-24 · diff ↗ ·
removed 1 export
pattern:print[.*]", "show[.*]", "summary[.*]", "boxplot[.*]", "comparisonsGraph[.*]", "comparisonsTable[.*]", "descriptiveTable[.*]", "downweightedTable[.*]", "errorBarGraph[.*]", "fit[.*]", "globalTest[.*]", "grpSummaryTable[.*]", "kmGraph[.*]", "pointGraph[.*]", "qqGraph[.*]", "samplesizeGraph[.*]", "samplesizeTable[.*]", "showObj[.*]", "varianceGraph[.*]added 1 export
pattern:print[.*]", "show[.*]", "summary[.*]", "boxplot[.*]", "diffGraph[.*]", "comparisonsGraph[.*]", "comparisonsTable[.*]", "descriptiveTable[.*]", "downweightedTable[.*]", "errorBarGraph[.*]", "fit[.*]", "globalTest[.*]", "grpSummaryTable[.*]", "kmGraph[.*]", "pointGraph[.*]", "qqGraph[.*]", "samplesizeGraph[.*]", "samplesizeTable[.*]", "showObj[.*]", "varianceGraph[.*] - 0.9-52012-08-13 · diff ↗
- 0.9-42012-03-11 · diff ↗
- 0.9-22011-11-28 · diff ↗
- 0.9-12011-06-27 · diff ↗
- 0.9.02010-12-20
- RR 2.12.0 released · 2010-10-15
Package metadata
- First published
- 2010-12-20
- Total releases
- 18 / 16 yrs
- License
- GPL-2 | GPL-3 OSI
- Minimum R
- ≥ 3.2.3
- Bundled data
- 3.7 KB / 14 files
- Download size
- 176 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("cg")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.