Logical vectors can also be a result of comparing character vectors. Let's see if the two vectors have equal values.

[1] FALSE  TRUE[1] FALSE

Excellent! "Mr." and "Mrs." are not the same, so the result is FALSE. The result is a logical vector of the same length as the compared vectors.

Maybe we have two values as a result?