inTextSummaryTable-common-args | R Documentation |
Arguments used across the functions of the inTextSummaryTable package.
data |
Data.frame with dataset to consider for the summary table. |
summaryTable |
A |
var |
Character vector with variable(s) of |
varFlag |
Character vector, subset of |
varLabInclude |
Logical, if TRUE
the name of the summary statistic variable(s) ( |
rowVar |
Character vector with variable(s) to be included in the rows. If multiple variables are specified, the variables should be sorted in hierarchical order (e.g. body system class before adverse event term) and are nested in the table. |
rowVarInSepCol |
Character vector with |
rowVarLab |
Named character vector with
label for the |
statsVar |
Character vector with columns of |
rowVarTotalInclude |
Character vector with |
rowVarTotalInSepRow |
Character vector with |
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. |
colTotalInclude |
Logical, if TRUE (FALSE by default) include the summary statistics across columns in a separated column. |
colTotalLab |
String, label for the total column 'Total' by default. |
subjectVar |
String, variable of |
statsLayout |
String with layout for the statistics names (in case more than one statistic is included), among:
|
statsValueLab |
String with label for the statistic value,
'StatisticValue' by default. |
statsExtra |
(optional) Named list with functions for additional custom
statistics to be computed.
For example, to additionally compute the coefficient of variation, this can be set to:
|
type |
String with type of table:
|
statsLabInclude |
Logical, if TRUE include the statistic label
in the table. |
title |
Character vector with title(s) for the table.
Set to NULL (by default) if no title should be included.
If multiple are specified, specified for each element of |
pageDim |
Numeric vector of length 2 with page width and height.
|
columnsWidth |
(expert mode) Column widths of the table. This is only used
for flextable and DT tables. |
labelVars |
(optional) Named character vector with label for
the row, column variable(s) or variable(s) to summarize. |
No return value, used for the documentation of R functions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.