Skip to contents

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