Vidyalelo
R Programming · Q161

Control Structures in R Programming

Programming · R Programming · question 161

Q161

What will be the output of the following R code? > x switch(2, 2+2, mean(1:10), rnorm(5))

A.
5
B.
5.5
Answer
C.
NULL
D.
58

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board