combine.summaryTable {inTextSummaryTable}R Documentation

Combine summary statistics table

Description

Usage

## S3 method for class 'summaryTable'
combine(..., summaryTables, combineVar = NULL, combineDir = c("row", "col"))

Arguments

...

summaryTable objects.

summaryTables

List of summaryTable objects.

combineVar

(optional) String with name of a new variable tracking from which table each record originally come from.
The label for each table is extracted from the names of the summaryTables list, or 1:length(tables) if the list is not named.
If not specified (by default), the tables will be combined but the information on which input table: each record from the combined table belongs to will not be retained.

combineDir

String indicating on which direction: 'row' or 'col' (a.k.a column) the information on the table appartenance (combineVar) will be displayed when the table is exported.

Details

Value

A combined summaryTable.

Author(s)

Laure Cougnaud


[Package inTextSummaryTable version 3.3.2 Index]