πŸ“Š R Programming
Q. Which of the following R code extracts the second column for the following matrix?
> x <- matrix(1:6, 2, 3)
  • (A) x[2, ]
  • (B) x[1, 2]
  • (C) x[, 2]
  • (D) x[1 1 2]
πŸ’¬ Discuss
βœ… Correct Answer: (C) x[, 2]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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