varLabInclude
variable.This function ensures that:
variable name is included if more than one variable are specified
variable name is not included if no variable is specified
checkVarLabInclude(var, varLabInclude = length(var) > 1)
(Updated) varLabInclude
String with variable to check.
Logical, if TRUE
the name of the summary statistic variable(s) (var
)
are included in the table.
This is automatically set to TRUE if more than one variable(s)
and is specified, and FALSE if only one variable is specified.
Laure Cougnaud