Q. Which of the following extracts first four element from the following R vector?
> x <- c("a", "b", "c", "c", "d", "a")
β
Correct Answer: (B)
x[1:4]