logical2int {dsBetaTestClient}R Documentation

turns a logical operator into an integer

Description

This is an internal function.

Usage

logical2int(obj = NULL)

Arguments

obj

a character, the logical parameter to turn into an integer

Details

This function is called to turn a logical oprator given as a character into an integer: '>' is turned into 1, '>=' into 2, '<' into 3, '<=' into 4, '==' into 5 and '!=' into 6.

Value

an integer


[Package dsBetaTestClient version 0.2.0 ]