Relational operators

These are used for comparisons between values.

Examples show that TRUE or FALSE is produced as a result.

3 > 5
## [1] FALSE
5 == 4   
## [1] FALSE
4 != 6
## [1] TRUE
a <- "dog" ; b <- "cat"
a == b
## [1] FALSE