Q. What will be the output of the following R code?
> x <- list(a = 1:5, b = rnorm(10))
> lapply(x, mean)
β
Correct Answer: (A)
$a
[1] 3
$b
[1] 0.1322028