1

In R, what does the if (condition) { code_block } else { code_block } statement do?

Correct Answer: Executes code_block if the condition is true, otherwise executes the else block

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 does the if (condition) { code_block } else { code_block } statement do? | Extra Education