Q. Which of the following extracts first element from the following R list?
> x <- list(foo = 1:4, bar = 0.6)
> x <- list(foo = 1:4, bar = 0.6)
β
Correct Answer: (A)
x[[1]]
You must be Logged in to update hint/solution