Operators comparing vectors



examples/vectors/compare_vectors_with_numbers.R
# Show how to compare a vector with an individual value (=> this just plays on the shorter being repeated to the length of the longer)
x = c(1, 2)
y = c(11, 0)

x > y
x < y
x <= y
x >= y
x == y
x != y