getReferenceLevels: Update reference levels for a set of variables
Description
Update reference levels for a set of variables
Usage
getReferenceLevels(data, vars, refLevels)
Value
A list of updated reference levels and a list of variables that
had their reference levels changed
Arguments
- data
The data frame containing the variables
- vars
The names of the variables to update
- refLevels
A list of reference levels to use for each variable