View source: R/miscellaneous.R
convertVarRowVarColVarToFactor | R Documentation |
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)
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 |
Updated data
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.