Beginner R
Q15 / 100

What is the result of TRUE + TRUE in R?

Correct! Well done.

Incorrect.

The correct answer is B) 2

B

Correct Answer

2

Explanation

Logical values TRUE and FALSE are coerced to 1 and 0 respectively in arithmetic, so TRUE + TRUE equals 2.

Progress
15/100