1

In R, what is the purpose of the if-else statement?

Correct Answer: To execute a block of code if a condition is true, otherwise execute another block of code

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: In R, what is the purpose of the if-else statement? | Extra Education