View source: R/computeSummaryStatisticsTable.R
computeSummaryStatisticsTableTotal | R Documentation |
Compute summary statistics total table.
computeSummaryStatisticsTableTotal(
data,
colVar = NULL,
colVarTotal = colVar,
rowVarTotal = NULL,
var = NULL,
varLab = getLabelVar(var, data = data, labelVars = labelVars),
colTotalLab = "Total",
colInclude0 = FALSE,
colTotalInclude = FALSE,
dataTotalCol = NULL,
colVarDataLevels = NULL,
colVarLevels = NULL,
subjectVar = "USUBJID",
labelVars = NULL,
msgLabel = "total",
checkVarDiffBySubj = "error"
)
data |
Data.frame with dataset to consider for the summary table. |
colVar |
Character vector with variable(s) to be included in columns.
If multiple variables are specified, the variables should
be sorted in hierarchical order,
and are included in multi-columns layout. |
colVarTotal |
Character vector with column(s) considered to compute the total. This could also contain 'variable'. |
rowVarTotal |
Character vector with row(s) considered to compute the total. This could also contain 'variable'. |
var |
Character vector with variable(s) of |
colTotalLab |
String, label for the total column 'Total' by default. |
colTotalInclude |
Logical, if TRUE (FALSE by default) include the summary statistics across columns in a separated column. |
dataTotalCol |
Data.frame from which the total across columns is
extracted (in case |
colVarLevels |
list with levels of each |
subjectVar |
String, variable of |
labelVars |
(optional) Named character vector with label for
the row, column variable(s) or variable(s) to summarize. |
msgLabel |
(optional) String with label for the data ('total' by default), included in the message/warning for checks. |
data.frame with total table.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.