Which of the following is a relational operator in R?

Which of the following is a relational operator in R?

a) +
b) ==
c) %%
d) ˆ

Answer:

b) ==

Explanation:

The == operator checks if two values are equal, making it a relational operator in R.

Reference:

R Programming – Operators MCQ Questions and Answers

Scroll to Top