Q. Which of the following R code extracts the second column for the following matrix?
> x <- matrix(1:6, 2, 3)
> x <- matrix(1:6, 2, 3)
β
Correct Answer: (C)
x[, 2]
You must be Logged in to update hint/solution