Positive_Comparators.RdTRUE if condition positively fullfilled, FALSE if not met or if NA!
EQ equal
NE unequal
LT less than
LE less equal
GT greater than
GE greater equal
When x and/or y is a vector, comparison is component-wise. If x and y differ in length the shorter will be recycled.
EQ(x, y) NE(x, y) LT(x, y) LE(x, y) GT(x, y) GE(x, y) LT(x, y)
| x | ordinal |
|---|---|
| y | ordinal |
TRUE or FALSE
EQ(1,1)#> [1] TRUEEQ(1,NA)#> [1] FALSE#> [1] FALSE TRUE FALSE FALSE#> [1] FALSE FALSE TRUE FALSE#> [1] TRUE TRUE TRUE FALSE