adjust_class_label {daltoolbox} | R Documentation |
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)
Arguments
x |
vector to be categorized |
valTrue |
value to represent true |
valFalse |
value to represent false |
Value
returns an adjusted categorical mapping
[Package daltoolbox version 1.2.707 Index]