logical2int: Turns a logical operator into an integer

View source: R/logical2int.R

logical2intR 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


datashield/dsBaseClient documentation built on May 16, 2023, 10:19 p.m.