Vidyalelo
R Programming · Q95

Control Structures in R Programming

Programming · R Programming · question 95

Q95

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

A.
10
B.
1
C.
NULL
Answer
D.
5

Answer: Option C

Solution

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