Vidyalelo
R Programming · Q50

R Programming Basics

Programming · R Programming · question 50

Q50

What will be the output of the following R code? > x y rbind(x, y)

A.
[,1] [,2] [,3]
x 1 2 3
y 10 11 12
Answer
B.
[,1] [,2] [,3]
x 1 2 3
y 10 11
C.
[,1] [,2] [,3]
x 1 2 3
y 4 5 6
D.
[,4] [,5] [,3]
x 1 3 5
y 4 5 2

Answer: Option A

Solution

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