What Will Be The Output Of The Following R Codep Pre Langrsplus #218
What will be the output of the following R code?</p> <pre><code class="language-rsplus"> > x <- 1:3 > y <- 10:12 > rbind(x, y) </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs110 R Language. It can also be found in gs gs110 Nuts and Bolts and Getting Data In and Out - Reading Datasets - Quiz No.1.
What will be the output of the following R code?
> x <- 1:3 > y <- 10:12 > rbind(x, y)
[,1] [,2] [,3] x 1 2 3 y 10 11 12
[,1] [,2] [,3] x 1 2 3 y 10 11
[,1] [,2] [,3] x 1 2 3 y 4 5 6
[,4] [,5] [,3] x 1 3 5 y 4 5 2