Question: What happens when the condition passed to an if statement is vector with length not equal to 1 Note this assumes you have R version


What happens when the condition passed to an if statement is vector with length not equal to 1 Note this assumes you have R version 4 2 0 as per the syllabus O An error occurs The code executes with neither warning nor error O It depends on the condition in the if statement A warning occurs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
