A

Admin • 833.24K Points
Coach

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]
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category R Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.