Skip to content

Compare Groups, Analytically and Graphically

0packages depend
3.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 5.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-24
  • ERROR12 OK, 1 ERROR2026-07-23
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0-4
READMENoVignettesNoNEWSYes · 0% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
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

3.3K
CRAN downloads in the past year
Rank #9,201 · ~9/day · ~277/mo
Daily download trend is not available in this view yet.
41130 days
1.1K90 days
3.3K1 year
Compare downloads with other packages →
Also on90 r2u10 autocran

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing cg adds 62 packages (33 with compiled code, 68 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggplot2 6.0 MB.

Depends (2)
R >= 3.2.3Hmisc
Imports (12)
VGAMmethodsgraphicsstatsutilsgridMASSlatticesurvivalmultcompnlmerms
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.9.0 (2010), Copyright holder
Contributor · added in 3.0.3
Releases (18)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.3Latest
    record
    2014-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[.*]
  • R
    R 3.0.0 released · 2013-04-03
  • 2.15.3
    record
    2013-01-24 · diff ↗
Show 20 earlier eventsHide 20 earlier events
  • 2.15.2
    record
    2012-08-13 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 2.15.0
    record
    2012-03-11 · diff ↗
  • 2.14.1
    record
    2011-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[.*]
  • R
    R 2.14.0 released · 2011-10-31
  • 2.13.1
    record
    2011-06-26 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 2.12.2
    record
    2010-12-20 · diff ↗
  • 1.0-4
    record
    2025-04-13 · diff ↗
  • 1.0-3
    record
    2016-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-2
    record
    2014-12-31 · diff ↗
  • 1.0-1
    record
    2014-07-14 · diff ↗
  • 1.0-0
    record
    2014-02-14 · diff ↗
  • 0.9-6
    record
    2013-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-5
    record
    2012-08-13 · diff ↗
  • 0.9-4
    record
    2012-03-11 · diff ↗
  • 0.9-2
    record
    2011-11-28 · diff ↗
  • 0.9-1
    record
    2011-06-27 · diff ↗
  • 0.9.0
    record
    2010-12-20
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cg version 1.0-4 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy