Q. Which of the following extracts first four element from the following R vector?
> x <- c("a", "b", "c", "c", "d", "a")

  • (A) x[0:4]
  • (B) x[1:4]
  • (C) x[0:3]
  • (D) x[4:3]
πŸ’¬ Discuss
βœ… Correct Answer: (B) x[1:4]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
102
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate