T Thành Đạt New member Sep 20, 2021 #1 What will be the output of the following R code? Code: > x <- 3 > switch(6, 2+2, mean(1:10), rnorm(5)) A. 10 B. 1 C. NULL D. 5
What will be the output of the following R code? Code: > x <- 3 > switch(6, 2+2, mean(1:10), rnorm(5)) A. 10 B. 1 C. NULL D. 5
T ThịThúy Hiền New member Sep 20, 2021 #2 Answer: c Explanation: If value is too large or too small NULL is returned. Upvote 0 Downvote