In R, boolean variables can take only 2 values - TRUE and FALSE.

For example,

# declare boolean
x

Continue reading: R Booleans (Comparison and Logical …