?
What will be the output of the following R code?
What will be the output of the following R code?
> x <- 3
> switch(6, 2+2, mean(1:10), rnorm(5))
> x <- 3
> switch(6, 2+2, mean(1:10), rnorm(5))
Join the Discussion
Login to post a comment or share your explanation.
Login