adjust_class_label: Adjust categorical mapping
Description
Converts a vector into a categorical mapping, where each category is represented by a specific value.
By default, the values represent binary categories (true/false)
Usage
adjust_class_label(x, valTrue = 1, valFalse = 0)
Value
returns an adjusted categorical mapping
Arguments
- x
vector to be categorized
- valTrue
value to represent true
- valFalse
value to represent false