parseComparatives: parse text comparative sentence

View source: R/Utils.R

parseComparativesR Documentation

parse text comparative sentence

Description

return logical for sentence such as "3 > 4")

Usage

parseComparatives(value1, comparative, value2)

Arguments

value1

a number represented as a string, eg "3"

comparative

one of c(">", ">=", "<", "<=", "==")

value2

a number represented as a string, eg "4"

Value

a logical as if the characters were evaluated such as 3 > 4


BrentLab/brentlabRnaSeqTools documentation built on Aug. 20, 2023, 9:22 a.m.