logical2int {dsBaseClient}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 dsBaseClient version 6.3.0 ]