convertVarRowVarColVarToFactor {inTextSummaryTable} | R Documentation |
Convert rowVar
, colVar
and character var
in data
to factor
Description
Convert rowVar
, colVar
and character var
in data
to factor
Usage
convertVarRowVarColVarToFactor(data, rowVar = NULL, colVar = NULL, var = NULL)
Arguments
data |
Data.frame with dataset to consider for the summary table. |
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. |
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. |
var |
Character vector with variable(s) of |
Value
Updated data
Author(s)
Laure Cougnaud