Skip to contents

compareGropus package

compareGroups-package compareGroups-package
Descriptive analysis by groups

Computing descriptives

compareGroups() plot(<compareGroups>)
Descriptives by groups
compareSNPs()
Summarise genetic data by groups.

Building descriptive tables

createTable() print(<createTable>) plot(<createTable>)
Table of descriptives by groups: bivariate table
descrTable()
Perform descriptives and build the bivariate table.
strataTable()
Stratify descriptive table in stratas.

Exporting and saving descriptive tables

export2csv()
Exporting descriptives table to plain text (CSV) format
export2html()
Exporting descriptives table to HTML format
export2latex()
Exporting descriptives table to LaTeX format
export2md()
Exporting descriptives table to Markdown format
export2pdf()
Exports tables to PDF files.
export2word()
Exports tables to Word files.
export2xls()
Exporting descriptives table to Exel format (.xlsx or .xls)

Retrieving results from a descriptive tables

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

Graphical user interfaces

cGroupsGUI()
Graphical user interface based on tcltk tools
cGroupsWUI()
Web User Interface based on Shiny tools.

Miscelania functions

printTable()
'Nice' table format.
radiograph()
Lists the values in the data set.
report()
Report of descriptive tables and plots.
varinfo()
Variable names and labels extraction
missingTable()
Table of missingness counts by groups.
padjustCompareGroups()
Update p values according multiple comparisons

compareGroups Datasets

SNPs
SNPs in a case-control study
regicor
REGICOR cross-sectional data