adjust_class_label: Adjust categorical mapping

adjust_class_labelR 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


daltoolbox documentation built on Nov. 3, 2024, 9:06 a.m.