rule_value {DEXiR}R Documentation

rule_value

Description

Values of decision rules are in .dxi files encoded using character strings, where each individual character encodes some function value. The encoding is zero-based, so that "0" represents the lowest ordinal number on the corresponding discrete scale. rule_value(char) converts a single character to the corresponding ordinal value.

Usage

rule_value(ch)

Arguments

ch

A single character, such as "3" or "Z".

Value

Corresponding integer value.

Examples

rule_value("1")
rule_value("Z")


[Package DEXiR version 1.0.2 Index]