rowVar
, colVar
and character var
in data
to factorConvert rowVar
, colVar
and character var
in data
to factor
convertVarRowVarColVarToFactor(data, rowVar = NULL, colVar = NULL, var = NULL)
Updated data
Data.frame with dataset to consider for the summary table.
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.
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.
Use: 'variable' to include the variables to summarize: var
(if multiple) in different columns.
Character vector with variable(s) of data
,
to compute statistics on.
If NULL (by default), counts by row/column variable(s) are computed.
To also return counts of the rowVar
in case other var
are specified, you can include: 'all' in the var
.
Missing values, if present, are filtered
(also for the report of number of subjects/records).
Laure Cougnaud