Learn R Programming

cg (version 1.0-4)

Compare Groups, Analytically and Graphically

Description

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.

Copy Link

Version

Install

install.packages('cg')

Monthly Downloads

263

Version

1.0-4

License

GPL-2 | GPL-3

Maintainer

Bill Pikounis

Last Published

April 13th, 2025

Functions in cg (1.0-4)

cgValidity

cg package Validity Checks
cgInternalUtilities

cg package Internal Utilities
cg-package

Compare Groups, Analytically and Graphically
comparisons

Create a table of comparisons amongst groups
boxplot.cgOneFactorData

Box Plot Graph of Groups from a cgOneFactorData object
cgLineColors

Color Choice order for Graph Lines
canine

Canine Data Set in the cg package
comparisonsgraph

Create an graph of comparisons
correlationTable

Compute Correlations
correlationTable.cgPairedDifferenceData

Compute Correlations from a cgPairedDifferenceData object
canine.listfmt

Canine Data Set in the cg package
comparisonsTable.cgOneFactorFit

Create a table of comparisons amongst groups with the cgOneFactorFit object
comparisonsGraph

Graph comparisons specified amongst groups
descriptiveTable

Compute Descriptive Summary Statistics of Groups
comparisonsTable.cgPairedDifferenceFit

Create a table of comparisons between two groups with the cgPairedDifferenceFit object
downweightedTable.cgPairedDifferenceFit

Create a table of downweighted observations from a Resistant & Robust fit.
diffGraph

Graph Paired Differences
errorBarGraph.cgOneFactorFit

Create an Error Bar graph amongst groups in a cgOneFactorFit object
diffGraph.pairedDifferenceData

Graph Paired Differences from a cgPairedDifferenceData object
comparisonsTable

Create a Table of Comparisons amongst Groups
gmcsfcens.listfmt

GM-CSF censored data set in the cg package
fit

Fit models to data
cgInternalClasses

cg package Internal Virtual Classes
comparisonsGraph.cgOneFactorComparisonsTable

Create an graph of the comparisons in a cgOneFactorComparisonsTable object
comparisonsGraph.cgPairedDifferenceComparisonsTable

Create an graph of the comparisons in a cgPairedDifferenceComparisonsTable object
errorBarGraph

Create an Error Bar graph amongst groups
descriptiveTable.cgOneFactorData

Compute Descriptive Summary Statistics of Groups in a cgOneFactorData object
grpSummaryTable

Create a table of estimated group means and variability
fit.cgOneFactorData

Fit models to a cgOneFactorData object
errorbargraph

Create an error bar graph based on pairwise multiple comparisons
descriptiveTable.cgPairedDifferenceData

Compute Descriptive Summary Statistics of Groups in a cgPairedDifferenceData object
globalTest

Perform a global test of significance
fit.cgPairedDifferenceData

Fit models to a cgPairedDifferenceData object
prepareCGOneFactorData

Prepare data object from a data frame for One Factor / One-Way / Unpaired Samples evaluations
pointGraph.cgOneFactorData

Graph Individual Data Points in a cgOneFactorData object
globalTest.cgOneFactorFit

Perform a global Test of significance with cgOneFactorFit object
downweightedTable

Create a table of downweighted observations from a Resistant & Robust fit.
prepare

Prepare a cg data object from a data frame
print.cgPairedDifferenceSampleSizeTable

Print a Paired Difference Sample Size Table object with some format options
gmcsfcens

GM-CSF censored data set in the cg package
print.cgPairedDifferenceVarianceTable

Print a Paired Difference Variance Table object with some format options
print.cgOneFactorDownweightedTable

Print Downweighted Observations Table object with some format options
qqGraph

Quantile-Quantile Graphs
prepareCGPairedDifferenceData

Prepare data object from a data frame for Paired Samples evaluations
downweightedTable.cgOneFactorFit

Create a table of downweighted observations from a Resistant & Robust fit.
print.cgOneFactorComparisonsTable

Print One Factor Comparisons Table object with some format options
grpSummaryTable.cgOneFactorFit

Create a table of estimated group means and variability with a cgOneFactorFit object.
kmGraph

Graph Distribution Functions of Groups
samplesizeTable.cgPairedDifferenceFit

Estimate Sample Sizes based on a cgPairedDifferenceFit object
print.cgOneFactorFit

Print One Factor Model Fit object with some format options
kmGraph.cgOneFactorData

Graph Distribution Functions of Groups in a cgOneFactorData object
print.cgOneFactorGlobalTest

Print One Factor Global F-test object with some format options
print.cgOneFactorDescriptiveTable

Print a One Factor Descriptive Table object with some format options
qqGraph.cgOneFactorFit

Quantile-Quantile (QQ) Graphs of a cgOneFactorFit object
show.cgOneFactorComparisonsTable

Show a One Factor Comparisons Table object from the cg package
pointGraph

Graph Individual Data Points of Groups
show.cgOneFactorDescriptiveTable

Show a One Factor Descriptive Table object from the cg package
show.cgOneFactorDownweightedTable

Show a One Factor Downweighted Table object from the cg package
summary.cgPairedDifferenceFit

Summary display of a Paired Difference Model Fit object with some format options
profileGraph.cgPairedDifferenceData

Graph Profiles of Experimental Unit Pairs in a cgPairedDifferenceData object
show.cgOneFactorGrpSummaryTable

Show a One Factor Group Summary Table object from the cg package
profileGraph

Graph Profiles of Experimental Units
print.cgOneFactorGrpSummaryTable

Print One Factor Group Summary Table object with some format options
summary.cgOneFactorFit

Summary display of a One Factor Model Fit object with some format options
show.cgOneFactorGlobalTest

Show a Global Test object from the cg package
print.cgOneFactorSampleSizeTable

Print a One Factor Sample Size Table object with some format options
print.cgPairedDifferenceCorrelationTable

Print a Paired Difference Correlation Table object with some format options
varianceGraph.cgOneFactorFit

Equal Variance Graphs assessment of cgOneFactorFit object
varianceGraph

Variance Graphs
print.cgPairedDifferenceComparisonsTable

Print Paired Difference Comparisons Table object with some format options
print.cgPairedDifferenceDownweightedTable

Print Downweighted Observations Table object with some format options
print.cgPairedDifferenceFit

Print One Factor Model Fit object with some format options
samplesizeGraph.cgPairedDifferenceSampleSizeTable

Graph estimated sample sizes from a cgPairedDifferenceSampleSizeTable object
samplesizeGraph.cgOneFactorSampleSizeTable

Graph estimated sample sizes from a cgOneFactorSampleSizeTable object
showObj.cgOneFactorFit

Show a Fitted Model object from the cg package
qqGraph.cgPairedDifferenceFit

Quantile-Quantile (QQ) Graphs of a cgPairedDifferenceFit object
print.cgPairedDifferenceDescriptiveTable

Print a Paired Difference Descriptive Table object with some format options
samplesizeGraph

Graph Estimated Sample Sizes
show.cgPairedDifferenceComparisonsTable

Show a Paired Difference Data Comparisons Table object from the cg package
show.cgOneFactorSampleSizeTable

Show a One Factor Sample Size Table object from the cg package
varianceTable

Compute Variance Components
varianceTable.cgPairedDifferenceFit

Compute Variances from a cgPairedDifferenceFit object
samplesizeTable

Estimate Required Sample Sizes
showObj

Show raw form of an object from the cg package
show.cgPairedDifferenceVarianceTable

Show a Paired Difference Variance Table object from the cg package
show.cgPairedDifferenceDownweightedTable

Show a Paired Difference Downweighted Table object from the cg package
show.cgPairedDifferenceDescriptiveTable

Show a Paired Difference Descriptive Table object from the cg package
show.cgPairedDifferenceCorrelationTable

Show a Paired Difference Correlation Table object from the cg package
samplesizeTable.cgOneFactorFit

Estimate Sample Sizes based on a cgOneFactorFit object
show.cgPairedDifferenceSampleSizeTable

Show a Paired Difference Sample Size Table object from the cg package
showObj.cgPairedDifferenceFit

Show a Fitted Model object from the cg package
anorexiaFT

AnorexiaFT Data Set in the cg package