1

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

Correct Answer: x y [1,] 1 10 [2,] 2 11 [3,] 3 12

Make the most of this question

This page focuses on one R Programming MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

R Programming MCQs MCQ: What will be the output of the following R code? > x y cbind(x, y) | Extra Education