Generates the variable column. Replaces the variable names by their label if given in the named character vector labels, and inserts levels for factors.
varColumn(data, labels = NULL)
The dataframe to get the names from
The optional named character vector containing the keypairs var = "Label"
A dataframe with one variable named "Variables", a character vector of variable names/labels and levels
labels is an option named character vector used to make the table prettier. If given, the variable names for which there is a label will be replaced by their corresponding label. Not all variables need to have a label, and labels for non-existing variables are ignored.