Q. Which of the following code extracts 1st element of the 2nd element?
> x <- list(a = list(10, 12, 14), b = c(3.14, 2.81))
> x <- list(a = list(10, 12, 14), b = c(3.14, 2.81))
β
Correct Answer: (A)
x[[c(2, 1)]]