A function to create new features based on combinations of categorical columns in a barn object.
Usage
plant_new_nominal_pairs(barn_obj, nominal_suffix = "_cat")
Arguments
- barn_obj
An object inheriting from the "barn" class.
- nominal_suffix
A character string that specifies the suffix for the newly created columns. Optional, default is "_cat".
Value
The modified barn_obj
with the transformed combined data frame.