A

Admin • 833.24K Points
Coach

Q. What will be the output of the following R code?
> x <- 1:3
> y <- 10:12
> cbind(x, y)

  • (A) x y [1,] 6 10 [2,] 7 11 [3,] 8 12
  • (B) x y [1,] 1 10 [2,] 2 11 [3,] 3 12
  • (C) x y [1,] 1 4 [2,] 2 5 [3,] 3 6
  • (D) x y [1,] 1 6 [2,] 2 5 [3,] 3 10
  • Correct Answer - Option(B)
  • Views: 27
  • 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.