1

Which of the following is valid syntax for if else statement in R?

Correct Answer: if(<condition>) { ## do something } else { ## do something else }

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: Which of the following is valid syntax for if else statement in R? | Extra Education