?
What will be the output of the following R code?
What will be the output of the following R code?
> x <- list(a = 1:5, b = rnorm(10))
> lapply(x, mean)
> x <- list(a = 1:5, b = rnorm(10))
> lapply(x, mean)
Join the Discussion
Login to post a comment or share your explanation.
Login