Vidyalelo
R Programming · Q59

R Programming Basics

Programming · R Programming · question 59

Q59

What will be the output of the following R code? > x y 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
Answer
C.
x y
[1,] 1 4
[2,] 2 5
[3,] 3 6
D.
x y
[1,] 1 6
[2,] 2 5
[3,] 3 10

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board