Q108
What will be the output of the following R code? > y switch(y, fruit = "banana", vegetable = "broccoli", "Neither")
A.
"banana"
AnswerB.
"Neither"
C.
"broccoli"
D.
Error
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board