Package: cg 1.0-3
Bill Pikounis
cg: Compare Groups, Analytically and Graphically
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.
Authors:
cg_1.0-3.tar.gz
cg_1.0-3.tar.gz(r-4.5-noble)cg_1.0-3.tar.gz(r-4.4-noble)
cg_1.0-3.tgz(r-4.4-emscripten)
cg.pdf |cg.html✨
cg/json (API)
NEWS
# Install 'cg' in R: |
install.packages('cg', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
- anorexiaFT - AnorexiaFT Data Set in the cg package
- canine - Canine Data Set in the cg package
- canine.listfmt - Canine Data Set in the cg package
- gmcsfcens - GM-CSF censored data set in the cg package
- gmcsfcens.listfmt1 - GM-CSF censored data set in the cg package
- gmcsfcens.listfmt2 - GM-CSF censored data set in the cg package
- gmcsfcens.listfmt3 - GM-CSF censored data set in the cg package
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 9 years agofrom:fd39ff2ca2. Checks:OK: 1 NOTE: 1. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 03 2024 |
R-4.5-linux | NOTE | Dec 03 2024 |
Exports:boxplot.cgOneFactorDatacomparisonscomparisonsgraphcomparisonsGraphcomparisonsGraph.cgOneFactorComparisonsTablecomparisonsGraph.cgPairedDifferenceComparisonsTablecomparisonsTablecomparisonsTable.cgOneFactorFitcomparisonsTable.cgPairedDifferenceFitcorrelationTablecorrelationTable.cgPairedDifferenceDatadescriptiveTabledescriptiveTable.cgOneFactorDatadescriptiveTable.cgPairedDifferenceDatadiffGraphdiffGraph.cgPairedDifferenceDatadownweightedTabledownweightedTable.cgOneFactorFitdownweightedTable.cgPairedDifferenceFiterrorbargrapherrorBarGrapherrorBarGraph.cgOneFactorFitfactorInSeqfitfit.cgOneFactorDatafit.cgPairedDifferenceDataglobalTestglobalTest.cgOneFactorFitgrpSummaryTablekmGraphkmGraph.cgOneFactorDatapointGraphpointGraph.cgOneFactorDataprepareprepareCGOneFactorDataprepareCGPairedDifferenceDataprint.cgOneFactorComparisonsTableprint.cgOneFactorDescriptiveTableprint.cgOneFactorDownweightedTableprint.cgOneFactorFitprint.cgOneFactorGlobalTestprint.cgOneFactorGrpSummaryTableprint.cgOneFactorSampleSizeTableprint.cgPairedDifferenceComparisonsTableprint.cgPairedDifferenceCorrelationTableprint.cgPairedDifferenceDescriptiveTableprint.cgPairedDifferenceDownweightedTableprint.cgPairedDifferenceFitprint.cgPairedDifferenceSampleSizeTableprint.cgPairedDifferenceVarianceTableprofileGraphprofileGraph.cgPairedDifferenceDataqqGraphqqGraph.cgOneFactorFitqqGraph.cgPairedDifferenceFitsamplesizeGraphsamplesizeGraph.cgOneFactorSampleSizeTablesamplesizeGraph.cgPairedDifferenceSampleSizeTablesamplesizeTablesamplesizeTable.cgOneFactorFitsamplesizeTable.cgPairedDifferenceFitshow.cgOneFactorComparisonsTableshow.cgOneFactorDescriptiveTableshow.cgOneFactorDownweightedTableshow.cgOneFactorGlobalTestshow.cgOneFactorGrpSummaryTableshow.cgOneFactorSampleSizeTableshow.cgPairedDifferenceComparisonsTableshow.cgPairedDifferenceCorrelationTableshow.cgPairedDifferenceDescriptiveTableshow.cgPairedDifferenceDownweightedTableshow.cgPairedDifferenceSampleSizeTableshow.cgPairedDifferenceVarianceTableshowObjshowObj.cgOneFactorFitshowObj.cgPairedDifferenceFitsummary.cgOneFactorFitsummary.cgPairedDifferenceFitvarianceGraphvarianceGraph.cgOneFactorFitvarianceTablevarianceTable.cgPairedDifferenceFit
Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacedata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemultcompmunsellmvtnormnlmennetpillarpkgconfigpolsplinequantregR6rappdirsRColorBrewerrlangrmarkdownrmsrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletinytexutf8vctrsVGAMviridisviridisLitewithrxfunyamlzoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Compare Groups, Analytically and Graphically | cg-package cg |
AnorexiaFT Data Set in the cg package | anorexiaFT |
Box Plot Graph of Groups from a cgOneFactorData object | boxplot,cgOneFactorData-method boxplot.cgOneFactorData |
Canine Data Set in the cg package | canine |
Canine Data Set in the cg package | canine.listfmt |
cg package Internal Virtual Classes | aftfit-class cgInternalClasses characterOrExpression-class characterOrNULL-class dataframeMatrixOrNULL-class dataframeOrNULL-class numericOrNULL-class olsfit-class rrfit-class uvfit-class |
cg package Internal Utilities | blockDiag boxplotcensoreddata boxplotStamp catCharExpr cg.largest.empty cgDevice cgInternalUtilities cgMessage chop.matrix chopZeroes comparisonsGraphStamp contrastMatrix descriptive.censoreddata errorBarGraphApproximateStamp errorBarGraphStamp factorInSeq fmtDifference fmtPercent fmtPvalue fmtRatio fmtRatioToPercent fround fround.charcens geoMean getNumDigits graphStampCG grpsummary isAllEqual makeCensored makeContrastVec makeEndptLabel makeTickMarks makeZeroScore minmaxTicks multcompDone multcompInform pairwisecompsmatrix paragraphWrap pctToRatio plotGrpNameTicks qminmin rangeExtend residualgrptrend.helper rmTicks samplesize samplesize.default samplesizegraph scaleVar seeHelpFile setupAxisTicks setupGrpNameTicks setupLog10AxisTicks stndErr stripmiss trimWhiteSpace tryAgain unpaste unwind unwrap xTicksCex yTicksCex |
Color Choice order for Graph Lines | cgLineColors |
cg package Validity Checks | cgValidity getDotsArgName parsePartialName reportInvalidArg validAddConstant validAft validAlpha validArgDigits validArgMatch validArgModel validAtomicVec validBoolean validCensor validCGOneFacGroupColDfr validCGOneFacListedDfr validCharacter validComparisonType validCutoffWt validDataFormat validDenDf validDotsArg validDotsArgs validEqualLength validErrorDf validEstimates validFitType validGrpNames validList validN validNumeric validNumericOrCensored validPower validZeroScore |
Create a table of comparisons amongst groups | comparisons |
Create an graph of comparisons | comparisonsgraph |
Graph comparisons specified amongst groups | comparisonsGraph |
Create an graph of the comparisons in a cgOneFactorComparisonsTable object | comparisonsGraph,cgOneFactorComparisonsTable-method comparisonsGraph.cgOneFactorComparisonsTable |
Create an graph of the comparisons in a cgPairedDifferenceComparisonsTable object | comparisonsGraph,cgPairedDifferenceComparisonsTable-method comparisonsGraph.cgPairedDifferenceComparisonsTable |
Create a Table of Comparisons amongst Groups | comparisonsTable |
Create a table of comparisons amongst groups with the cgOneFactorFit object | cgOneFactorComparisonsTable cgOneFactorComparisonsTable-class comparisonsTable,cgOneFactorFit-method comparisonsTable.cgOneFactorFit |
Create a table of comparisons between two groups with the cgPairedDifferenceFit object | cgPairedDifferenceComparisonsTable cgPairedDifferenceComparisonsTable-class comparisonsTable,cgPairedDifferenceFit-method comparisonsTable.cgPairedDifferenceFit |
Compute Correlations | correlationTable |
Compute Correlations from a cgPairedDifferenceData object | cgPairedDifferenceCorrelationTable cgPairedDifferenceCorrelationTable-class correlationTable,cgPairedDifferenceData-method correlationTable.cgPairedDifferenceData |
Compute Descriptive Summary Statistics of Groups | descriptiveTable |
Compute Descriptive Summary Statistics of Groups in a cgOneFactorData object | cgOneFactorDescriptiveTable cgOneFactorDescriptiveTable-class descriptiveTable,cgOneFactorData-method descriptiveTable.cgOneFactorData |
Compute Descriptive Summary Statistics of Groups in a cgPairedDifferenceData object | cgPairedDifferenceDescriptiveTable cgPairedDifferenceDescriptiveTable-class descriptiveTable,cgPairedDifferenceData-method descriptiveTable.cgPairedDifferenceData |
Graph Paired Differences | diffGraph |
Graph Paired Differences from a cgPairedDifferenceData object | diffGraph,cgPairedDifferenceData-method diffGraph.cgPairedDifferenceData |
Create a table of downweighted observations from a Resistant & Robust fit. | downweightedTable |
Create a table of downweighted observations from a Resistant & Robust fit. | cgOneFactorDownweightedTable cgOneFactorDownweightedTable-class downweightedTable,cgOneFactorFit-method downweightedTable.cgOneFactorFit |
Create a table of downweighted observations from a Resistant & Robust fit. | cgPairedDifferenceDownweightedTable cgPairedDifferenceDownweightedTable-class downweightedTable,cgPairedDifferenceFit-method downweightedTable.cgPairedDifferenceFit |
Create an error bar graph based on pairwise multiple comparisons | errorbargraph |
Create an Error Bar graph amongst groups | errorBarGraph |
Create an Error Bar graph amongst groups in a cgOneFactorFit object | errorBarGraph,cgOneFactorFit-method errorBarGraph.cgOneFactorFit |
Fit models to data | fit |
Fit models to a cgOneFactorData object | cgOneFactorFit cgOneFactorFit-class fit,cgOneFactorData-method fit.cgOneFactorData |
Fit models to a cgPairedDifferenceData object | cgPairedDifferenceFit cgPairedDifferenceFit-class fit,cgPairedDifferenceData-method fit.cgPairedDifferenceData |
Perform a global test of significance | globalTest |
Perform a global Test of significance with cgOneFactorFit object | cgOneFactorGlobalTest cgOneFactorGlobalTest-class globalTest,cgOneFactorFit-method globalTest.cgOneFactorFit |
GM-CSF censored data set in the cg package | gmcsfcens |
GM-CSF censored data set in the cg package | gmcsfcens.listfmt gmcsfcens.listfmt1 gmcsfcens.listfmt2 gmcsfcens.listfmt3 |
Create a table of estimated group means and variability | grpSummaryTable |
Create a table of estimated group means and variability with a cgOneFactorFit object. | cgOneFactorGrpSummaryTable cgOneFactorGrpSummaryTable-class grpSummaryTable,cgOneFactorFit-method grpSummaryTable.cgOneFactorFit |
Graph Distribution Functions of Groups | kmGraph |
Graph Distribution Functions of Groups in a cgOneFactorData object | kmGraph,cgOneFactorData-method kmGraph.cgOneFactorData |
Graph Individual Data Points of Groups | pointGraph |
Graph Individual Data Points in a cgOneFactorData object | pointGraph,cgOneFactorData-method pointGraph.cgOneFactorData |
Prepare a cg data object from a data frame | prepare |
Prepare data object from a data frame for One Factor / One-Way / Unpaired Samples evaluations | cgOneFactorData cgOneFactorData-class prepareCGOneFactorData |
Prepare data object from a data frame for Paired Samples evaluations | cgPairedDifferenceData cgPairedDifferenceData-class prepareCGPairedDifferenceData |
Print One Factor Comparisons Table object with some format options | print,cgOneFactorComparisonsTable-method print.cgOneFactorComparisonsTable |
Print a One Factor Descriptive Table object with some format options | print,cgOneFactorDescriptiveTable-method print.cgOneFactorDescriptiveTable |
Print Downweighted Observations Table object with some format options | print,cgOneFactorDownweightedTable-method print.cgOneFactorDownweightedTable |
Print One Factor Model Fit object with some format options | print,cgOneFactorFit-method print.cgOneFactorFit |
Print One Factor Global F-test object with some format options | print,cgOneFactorGlobalTest-method print.cgOneFactorGlobalTest |
Print One Factor Group Summary Table object with some format options | print,cgOneFactorGrpSummaryTable-method print.cgOneFactorGrpSummaryTable |
Print a One Factor Sample Size Table object with some format options | print,cgOneFactorSampleSizeTable-method print.cgOneFactorSampleSizeTable |
Print Paired Difference Comparisons Table object with some format options | print,cgPairedDifferenceComparisonsTable-method print.cgPairedDifferenceComparisonsTable |
Print a Paired Difference Correlation Table object with some format options | print,cgPairedDifferenceCorrelationTable-method print.cgPairedDifferenceCorrelationTable |
Print a Paired Difference Descriptive Table object with some format options | print,cgPairedDifferenceDescriptiveTable-method print.cgPairedDifferenceDescriptiveTable |
Print Downweighted Observations Table object with some format options | print,cgPairedDifferenceDownweightedTable-method print.cgPairedDifferenceDownweightedTable |
Print One Factor Model Fit object with some format options | print,cgPairedDifferenceFit-method print.cgPairedDifferenceFit |
Print a Paired Difference Sample Size Table object with some format options | print,cgPairedDifferenceSampleSizeTable-method print.cgPairedDifferenceSampleSizeTable |
Print a Paired Difference Variance Table object with some format options | print,cgPairedDifferenceVarianceTable-method print.cgPairedDifferenceVarianceTable |
Graph Profiles of Experimental Units | profileGraph |
Graph Profiles of Experimental Unit Pairs in a cgPairedDifferenceData object | profileGraph,cgPairedDifferenceData-method profileGraph.cgPairedDifferenceData |
Quantile-Quantile Graphs | qqGraph |
Quantile-Quantile (QQ) Graphs of a cgOneFactorFit object | qqGraph,cgOneFactorFit-method qqGraph.cgOneFactorFit |
Quantile-Quantile (QQ) Graphs of a cgPairedDifferenceFit object | qqGraph,cgPairedDifferenceFit-method qqGraph.cgPairedDifferenceFit |
Graph Estimated Sample Sizes | samplesizeGraph |
Graph estimated sample sizes from a cgOneFactorSampleSizeTable object | samplesizeGraph,cgOneFactorSampleSizeTable-method samplesizeGraph.cgOneFactorSampleSizeTable |
Graph estimated sample sizes from a cgPairedDifferenceSampleSizeTable object | samplesizeGraph,cgPairedDifferenceSampleSizeTable-method samplesizeGraph.cgPairedDifferenceSampleSizeTable |
Estimate Required Sample Sizes | samplesizeTable |
Estimate Sample Sizes based on a cgOneFactorFit object | cgOneFactorSampleSizeTable cgOneFactorSampleSizeTable-class samplesizeTable,cgOneFactorFit-method samplesizeTable.cgOneFactorFit |
Estimate Sample Sizes based on a cgPairedDifferenceFit object | cgPairedDifferenceSampleSizeTable cgPairedDifferenceSampleSizeTable-class samplesizeTable,cgPairedDifferenceFit-method samplesizeTable.cgPairedDifferenceFit |
Show a One Factor Comparisons Table object from the cg package | show,cgOneFactorComparisonsTable-method show.cgOneFactorComparisonsTable |
Show a One Factor Descriptive Table object from the cg package | show,cgOneFactorDescriptiveTable-method show.cgOneFactorDescriptiveTable |
Show a One Factor Downweighted Table object from the cg package | show,cgOneFactorDownweightedTable-method show.cgOneFactorDownweightedTable |
Show a Global Test object from the cg package | show,cgOneFactorGlobalTest-method show.cgOneFactorGlobalTest |
Show a One Factor Group Summary Table object from the cg package | show,cgOneFactorGrpSummaryTable-method show.cgOneFactorGrpSummaryTable |
Show a One Factor Sample Size Table object from the cg package | show,cgOneFactorSampleSizeTable-method show.cgOneFactorSampleSizeTable |
Show a Paired Difference Data Comparisons Table object from the cg package | show,cgPairedDifferenceComparisonsTable-method show.cgPairedDifferenceComparisonsTable |
Show a Paired Difference Correlation Table object from the cg package | show,cgPairedDifferenceCorrelationTable-method show.cgPairedDifferenceCorrelationTable |
Show a Paired Difference Descriptive Table object from the cg package | show,cgPairedDifferenceDescriptiveTable-method show.cgPairedDifferenceDescriptiveTable |
Show a Paired Difference Downweighted Table object from the cg package | show,cgPairedDifferenceDownweightedTable-method show.cgPairedDifferenceDownweightedTable |
Show a Paired Difference Sample Size Table object from the cg package | show,cgPairedDifferenceSampleSizeTable-method show.cgPairedDifferenceSampleSizeTable |
Show a Paired Difference Variance Table object from the cg package | show,cgPairedDifferenceVarianceTable-method show.cgPairedDifferenceVarianceTable |
Show raw form of an object from the cg package | showObj |
Show a Fitted Model object from the cg package | showObj,cgOneFactorFit-method showObj.cgOneFactorFit |
Show a Fitted Model object from the cg package | showObj,cgPairedDifferenceFit-method showObj.cgPairedDifferenceFit |
Summary display of a One Factor Model Fit object with some format options | summary,cgOneFactorFit-method summary.cgOneFactorFit |
Summary display of a Paired Difference Model Fit object with some format options | summary,cgPairedDifferenceFit-method summary.cgPairedDifferenceFit |
Variance Graphs | varianceGraph |
Equal Variance Graphs assessment of cgOneFactorFit object | varianceGraph,cgOneFactorFit-method varianceGraph.cgOneFactorFit |
Compute Variance Components | varianceTable |
Compute Variances from a cgPairedDifferenceFit object | cgPairedDifferenceVarianceTable cgPairedDifferenceVarianceTable-class varianceTable,cgPairedDifferenceFit-method varianceTable.cgPairedDifferenceFit |