View source: R/summaryTable-combine.R
combine.summaryTable | R Documentation |
A new table is created, combining the tables by rows.
The attributes of the combined summary table are obtained by combining the attributes of all summary tables (and removing duplicates).
## S3 method for class 'summaryTable'
combine(..., summaryTables, combineVar = NULL, combineDir = c("row", "col"))
... |
|
summaryTables |
List of |
combineVar |
(optional) String with name
of a new variable tracking from which table
each record originally come from. |
combineDir |
String indicating
on which direction: 'row' or 'col' (a.k.a column)
the information on the table appartenance
( |
In case only a set of tables contain categorical variable,
in nested rows, so the variable
and variableGroup
variables, these variables are included as last in
the 'row variables' attribute of the combined table.
Only one row is retained for the columns totals
per column variable (the first one in order of appearance).
The column totals are not included if the column
variable(s) are not the same across tables, or
if the totals differ between tables.
A combined summaryTable
.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.